Replace internal C++ newImage and newCanvas methods with newTexture

This commit is contained in:
Alex Szpakowski
2020-02-05 20:39:55 -04:00
parent 0017f9c77d
commit 17f77407bb
7 changed files with 13 additions and 17 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ Video::Video(Graphics *gfx, love::video::VideoStream *stream, float dpiscale)
settings.width = widths[i];
settings.height = heights[i];
settings.format = PIXELFORMAT_R8_UNORM;
Texture *tex = gfx->newImage(settings, nullptr);
Texture *tex = gfx->newTexture(settings, nullptr);
tex->setSamplerState(samplerState);