diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx index c1a1a1fc4a..09a893f917 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx +++ b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx @@ -950,8 +950,6 @@ reset() { } else { _glProgramParameteri = NULL; } -#else - _glProgramParameteri = NULL; #endif #ifdef OPENGLES_2