Skip to content

Commit

Permalink
GRAPHICS: Skip shader compat check if shaders are disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
logzero committed May 29, 2013
1 parent 9c802aa commit 304cbed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/graphics/graphics_gl2.cpp
Expand Up @@ -252,7 +252,11 @@ bool GRAPHICS_GL2::Init(
if (antialiasing > 1)
fsaa = antialiasing;

if (!GLEW_ARB_multitexture)
if (!shaders)
{
DisableShaders(shaderpath, error_output);
}
else if (!GLEW_ARB_multitexture)
{
info_output << "Your video card doesn't support multitexturing. Disabling shaders." << std::endl;
DisableShaders(shaderpath, error_output);
Expand Down

0 comments on commit 304cbed

Please sign in to comment.