SDL_ScaleMode: fix compilation GLES renderer

Sylvain Becker 2019-12-23 16:47:00 +01:00
parent 131e13a773
commit 6d639fce2d
1 changed files with 0 additions and 1 deletions

View File

@ -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;