src/render/opengl/SDL_render_gl.c
changeset 5230 8efa43b915be
parent 5229 c015d3e63631
child 5233 ce4f91138031
equal deleted inserted replaced
5229:c015d3e63631 5230:8efa43b915be
   295     data->blendMode = -1;
   295     data->blendMode = -1;
   296     data->glDisable(GL_DEPTH_TEST);
   296     data->glDisable(GL_DEPTH_TEST);
   297     data->glDisable(GL_CULL_FACE);
   297     data->glDisable(GL_CULL_FACE);
   298     /* This ended up causing video discrepancies between OpenGL and Direct3D */
   298     /* This ended up causing video discrepancies between OpenGL and Direct3D */
   299     /*data->glEnable(GL_LINE_SMOOTH);*/
   299     /*data->glEnable(GL_LINE_SMOOTH);*/
   300     if (data->GL_ARB_texture_rectangle_supported) {
       
   301         data->glEnable(GL_TEXTURE_RECTANGLE_ARB);
       
   302     } else {
       
   303         data->glEnable(GL_TEXTURE_2D);
       
   304     }
       
   305     data->updateSize = SDL_TRUE;
   300     data->updateSize = SDL_TRUE;
   306 
   301 
   307     return renderer;
   302     return renderer;
   308 }
   303 }
   309 
   304