mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2025-01-13 22:22:37 +00:00
SDL_ScaleMode: fix compilation GLES renderer
This commit is contained in:
parent
131e13a773
commit
6d639fce2d
@ -496,7 +496,6 @@ static void
|
||||
GLES_SetTextureScaleMode(SDL_Renderer * renderer, SDL_Texture * texture, SDL_ScaleMode scaleMode)
|
||||
{
|
||||
GLES_RenderData *renderdata = (GLES_RenderData *) renderer->driverdata;
|
||||
const GLenum textype = renderdata->textype;
|
||||
GLES_TextureData *data = (GLES_TextureData *) texture->driverdata;
|
||||
GLenum glScaleMode = (scaleMode == SDL_ScaleModeNearest) ? GL_NEAREST : GL_LINEAR;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user