Skip to content

Commit

Permalink
Do archaic OpenGL driver workaround before trying to enable shaders, …
Browse files Browse the repository at this point in the history
…as well as after the workaround is clobbered.
  • Loading branch information
Cyp committed Jun 17, 2012
1 parent caa2074 commit f5a7fd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ivis_opengl/screen.cpp
Expand Up @@ -172,6 +172,7 @@ bool screenInitialise()

if (canRunShaders && !opengl_fallback_mode)
{
screen_EnableMissingFunctions(); // We need to do this before pie_LoadShaders(), but the effect of this call will be undone later by iV_TextInit(), so we will need to call it again.
if (pie_LoadShaders())
{
pie_SetShaderAvailability(true);
Expand Down

0 comments on commit f5a7fd5

Please sign in to comment.