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