From 6d639fce2d5328b90232597113144bf66bc1e312 Mon Sep 17 00:00:00 2001 From: Sylvain Becker Date: Mon, 23 Dec 2019 16:47:00 +0100 Subject: [PATCH] SDL_ScaleMode: fix compilation GLES renderer --- src/render/opengles/SDL_render_gles.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/render/opengles/SDL_render_gles.c b/src/render/opengles/SDL_render_gles.c index d29ea2602..d33f388c3 100644 --- a/src/render/opengles/SDL_render_gles.c +++ b/src/render/opengles/SDL_render_gles.c @@ -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;