Fix warning in GL ES2 renderer
authorGabriel Jacobo
Thu, 22 Aug 2013 17:26:22 -0300
changeset 7691cf99258f905c
parent 7690 76d7b6007a64
child 7692 e1036c58fac7
Fix warning in GL ES2 renderer
src/render/opengles2/SDL_render_gles2.c
     1.1 --- a/src/render/opengles2/SDL_render_gles2.c	Thu Aug 22 14:56:07 2013 -0300
     1.2 +++ b/src/render/opengles2/SDL_render_gles2.c	Thu Aug 22 17:26:22 2013 -0300
     1.3 @@ -1174,7 +1174,7 @@
     1.4  {
     1.5      GLES2_DriverContext *rdata = (GLES2_DriverContext *)renderer->driverdata;
     1.6      GLES2_TextureData *tdata = (GLES2_TextureData *)texture->driverdata;
     1.7 -    GLES2_ImageSource sourceType;
     1.8 +    GLES2_ImageSource sourceType = GLES2_IMAGESOURCE_TEXTURE_ABGR;
     1.9      SDL_BlendMode blendMode;
    1.10      GLfloat vertices[8];
    1.11      GLfloat texCoords[8];
    1.12 @@ -1330,7 +1330,7 @@
    1.13  {
    1.14      GLES2_DriverContext *rdata = (GLES2_DriverContext *)renderer->driverdata;
    1.15      GLES2_TextureData *tdata = (GLES2_TextureData *)texture->driverdata;
    1.16 -    GLES2_ImageSource sourceType;
    1.17 +    GLES2_ImageSource sourceType = GLES2_IMAGESOURCE_TEXTURE_ABGR;
    1.18      SDL_BlendMode blendMode;
    1.19      GLfloat vertices[8];
    1.20      GLfloat texCoords[8];