diff options
Diffstat (limited to 'intern/gawain/src/gwn_immediate.c')
-rw-r--r-- | intern/gawain/src/gwn_immediate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/gawain/src/gwn_immediate.c b/intern/gawain/src/gwn_immediate.c index 790c7d841bb..0e57aefebe2 100644 --- a/intern/gawain/src/gwn_immediate.c +++ b/intern/gawain/src/gwn_immediate.c @@ -140,8 +140,9 @@ void immUnbindProgram(void) #if TRUST_NO_ONE assert(imm.bound_program != 0); #endif - +#if PROGRAM_NO_OPTI glUseProgram(0); +#endif imm.bound_program = 0; } |