src/render/opengl/SDL_render_gl.c
changeset 5203 25ffd4e5255c
parent 5195 bb45ecd958d8
child 5204 daa5463466c5
     1.1 --- a/src/render/opengl/SDL_render_gl.c	Sun Feb 06 00:48:16 2011 -0800
     1.2 +++ b/src/render/opengl/SDL_render_gl.c	Sun Feb 06 00:48:41 2011 -0800
     1.3 @@ -34,7 +34,7 @@
     1.4  /* OpenGL renderer implementation */
     1.5  
     1.6  /* Details on optimizing the texture path on Mac OS X:
     1.7 -   http://developer.apple.com/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_texturedata/chapter_10_section_2.html
     1.8 +   http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_texturedata/opengl_texturedata.html
     1.9  */
    1.10  
    1.11  /* Used to re-create the window with OpenGL capability */
    1.12 @@ -72,7 +72,7 @@
    1.13      GL_CreateRenderer,
    1.14      {
    1.15       "opengl",
    1.16 -     (SDL_RENDERER_PRESENTVSYNC | SDL_RENDERER_ACCELERATED),
    1.17 +     (SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC),
    1.18       1,
    1.19       {SDL_PIXELFORMAT_ARGB8888},
    1.20       0,
    1.21 @@ -331,7 +331,6 @@
    1.22                 GLint* internalFormat, GLenum* format, GLenum* type)
    1.23  {
    1.24      switch (pixel_format) {
    1.25 -    case SDL_PIXELFORMAT_RGB888:
    1.26      case SDL_PIXELFORMAT_ARGB8888:
    1.27          *internalFormat = GL_RGBA8;
    1.28          *format = GL_BGRA;