Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5364 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Oct 11, 2005, 11:48:19 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some more definition of the GUI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/shader.cc

    r5335 r5364  
    227227void Shader::deactivateShader()
    228228{
    229   glUseProgramObjectARB(0);
    230   Shader::storedShader = NULL;
     229 if (storedShader != NULL)
     230   glUseProgramObjectARB(0);
     231 Shader::storedShader = NULL;
    231232}
    232233
Note: See TracChangeset for help on using the changeset viewer.