Fix warning in GL ES2 renderer
authorGabriel Jacobo <gabomdq@gmail.com>
Thu, 22 Aug 2013 17:26:22 -0300
changeset 7691 cf99258f905c
parent 7690 76d7b6007a64
child 7692 e1036c58fac7
Fix warning in GL ES2 renderer
src/render/opengles2/SDL_render_gles2.c
--- a/src/render/opengles2/SDL_render_gles2.c	Thu Aug 22 14:56:07 2013 -0300
+++ b/src/render/opengles2/SDL_render_gles2.c	Thu Aug 22 17:26:22 2013 -0300
@@ -1174,7 +1174,7 @@
 {
     GLES2_DriverContext *rdata = (GLES2_DriverContext *)renderer->driverdata;
     GLES2_TextureData *tdata = (GLES2_TextureData *)texture->driverdata;
-    GLES2_ImageSource sourceType;
+    GLES2_ImageSource sourceType = GLES2_IMAGESOURCE_TEXTURE_ABGR;
     SDL_BlendMode blendMode;
     GLfloat vertices[8];
     GLfloat texCoords[8];
@@ -1330,7 +1330,7 @@
 {
     GLES2_DriverContext *rdata = (GLES2_DriverContext *)renderer->driverdata;
     GLES2_TextureData *tdata = (GLES2_TextureData *)texture->driverdata;
-    GLES2_ImageSource sourceType;
+    GLES2_ImageSource sourceType = GLES2_IMAGESOURCE_TEXTURE_ABGR;
     SDL_BlendMode blendMode;
     GLfloat vertices[8];
     GLfloat texCoords[8];