Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void myUseProgram(GLint newProgram)
- {
- static GLint program = 0;
- if (program != newProgram)
- {
- program = newProgram;
- glUseProgram(program);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement