Skip to content
Permalink
Browse files

GRAPHICS: Skip shader compat check if shaders are disabled.

  • Loading branch information...
logzero committed May 29, 2013
1 parent 9c802aa commit 304cbed9288213f1faa7b6c7de127f4b75ec4a58
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/graphics/graphics_gl2.cpp
@@ -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);

0 comments on commit 304cbed

Please sign in to comment.
You can’t perform that action at this time.