I just want to use GLSL to render volume.Does not want to it affect other object.I try to use glDetachShader(),glDeleteShader, and glDeleteProgram(),but seems no effect.
What should I do?
glUseProgramObjectARB(0);
- Klaus
Thank you klaus, it is very effective.
This was something I was searching for how to do for days. You can also use glUseProgram(0).
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.