Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed the shaders (needed to use texture2DRect) - thanks Ryan!

  • Loading branch information
slouken committed Feb 9, 2011
1 parent e6897a7 commit e3650baa3f2724f594f53bc85720bd0a5cbba866

File 1 of 2 in e3650ba

@@ -297,11 +297,6 @@ GL_CreateRenderer(SDL_Window * window, Uint32 flags)
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;

0 comments on commit e3650ba

Please sign in to comment.