Commit 6d639fce2d5328b90232597113144bf66bc1e312

Sylvain Becker 2019-12-23T16:47:00

SDL_ScaleMode: fix compilation GLES renderer

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/render/opengles/SDL_render_gles.c b/src/render/opengles/SDL_render_gles.c
index d29ea26..d33f388 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;