PDA

View Full Version : How to clean up



LLM
06-07-2006, 11:08 PM
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?

Klaus
06-08-2006, 03:26 AM
glUseProgramObjectARB(0);- Klaus

LLM
06-08-2006, 06:41 PM
Thank you klaus, it is very effective.

HowitZer
05-12-2010, 08:23 PM
This was something I was searching for how to do for days. You can also use glUseProgram(0).