-
Junior Member
Newbie
[OpenGL 3.2] glUseProgram: inside the mainloop ?
Hello
I wonder if i should put «glUseProgram» inside my render loop, or just calling it once after the GLSL program has been compiled and linked.
I'm asking this, because i tried and put it outside the render loop, and it worked.
But i read several tutorials which put it inside the render loop.
Thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules