src/video/SDL_renderer_gl.c
changeset 3262 e3d33bd599eb
parent 3253 5d7ef5970073
child 3264 8fe0806637df
equal deleted inserted replaced
3261:72b542f34739 3262:e3d33bd599eb
   421     /* Set up parameters for rendering */
   421     /* Set up parameters for rendering */
   422     data->blendMode = -1;
   422     data->blendMode = -1;
   423     data->scaleMode = -1;
   423     data->scaleMode = -1;
   424     data->glDisable(GL_DEPTH_TEST);
   424     data->glDisable(GL_DEPTH_TEST);
   425     data->glDisable(GL_CULL_FACE);
   425     data->glDisable(GL_CULL_FACE);
   426     data->glEnable(GL_LINE_SMOOTH);
   426     /* This ended up causing video discrepancies between OpenGL and Direct3D */
       
   427     /*data->glEnable(GL_LINE_SMOOTH);*/
   427     if (data->GL_ARB_texture_rectangle_supported) {
   428     if (data->GL_ARB_texture_rectangle_supported) {
   428         data->glEnable(GL_TEXTURE_RECTANGLE_ARB);
   429         data->glEnable(GL_TEXTURE_RECTANGLE_ARB);
   429     } else {
   430     } else {
   430         data->glEnable(GL_TEXTURE_2D);
   431         data->glEnable(GL_TEXTURE_2D);
   431     }
   432     }