src/render/opengl/SDL_render_gl.c
changeset 5230 8efa43b915be
parent 5229 c015d3e63631
child 5233 ce4f91138031
     1.1 --- a/src/render/opengl/SDL_render_gl.c	Tue Feb 08 16:50:51 2011 -0800
     1.2 +++ b/src/render/opengl/SDL_render_gl.c	Tue Feb 08 20:23:52 2011 -0800
     1.3 @@ -297,11 +297,6 @@
     1.4      data->glDisable(GL_CULL_FACE);
     1.5      /* This ended up causing video discrepancies between OpenGL and Direct3D */
     1.6      /*data->glEnable(GL_LINE_SMOOTH);*/
     1.7 -    if (data->GL_ARB_texture_rectangle_supported) {
     1.8 -        data->glEnable(GL_TEXTURE_RECTANGLE_ARB);
     1.9 -    } else {
    1.10 -        data->glEnable(GL_TEXTURE_2D);
    1.11 -    }
    1.12      data->updateSize = SDL_TRUE;
    1.13  
    1.14      return renderer;