src/render/opengles/SDL_render_gles.c
changeset 5203 25ffd4e5255c
parent 5201 523409574510
child 5204 daa5463466c5
--- a/src/render/opengles/SDL_render_gles.c	Sun Feb 06 00:48:16 2011 -0800
+++ b/src/render/opengles/SDL_render_gles.c	Sun Feb 06 00:48:41 2011 -0800
@@ -74,8 +74,8 @@
 SDL_RenderDriver GLES_RenderDriver = {
     GLES_CreateRenderer,
     {
-     "opengl_es",
-     (SDL_RENDERER_PRESENTVSYNC | SDL_RENDERER_ACCELERATED),
+     "opengles",
+     (SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC),
      1,
      {SDL_PIXELFORMAT_ABGR8888},
      0,
@@ -331,8 +331,7 @@
         type = GL_UNSIGNED_BYTE;
         break;
     default:
-        SDL_SetError("Texture format %s not supported by OpenGL ES",
-                     SDL_GetPixelFormatName(texture->format));
+        SDL_SetError("Texture format not supported");
         return -1;
     }