src/video/SDL_renderer_gles.c
changeset 4990 397e748d901a
parent 4986 8431f59485d0
child 5052 4cb4b18cbae3
     1.1 --- a/src/video/SDL_renderer_gles.c	Wed Jan 12 17:53:06 2011 -0800
     1.2 +++ b/src/video/SDL_renderer_gles.c	Wed Jan 12 19:33:04 2011 -0800
     1.3 @@ -408,7 +408,8 @@
     1.4          type = GL_UNSIGNED_SHORT_4_4_4_4;
     1.5          break;
     1.6      default:
     1.7 -        SDL_SetError("Unsupported by OpenGL ES texture format");
     1.8 +        SDL_SetError("Texture format %s not supported by OpenGL ES",
     1.9 +                     SDL_GetPixelFormatName(texture->format));
    1.10          return -1;
    1.11      }
    1.12