mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Replace internal C++ newImage and newCanvas methods with newTexture
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user