Forum Discussion
tmason101
11 years agoHonored Guest
Complete "Extended" Mode Modern OpenGL Example (SDK 0.4.3)
Hello, Thanks to all of the help from the various posters (jherico and nuclear especially) here is a complete "Extended" mode example of using the latest version of the SDK (0.4.3) with Modern Open...
nuclear
11 years agoExplorer
"tmason101" wrote:
GLenum err;
while ((err = glGetError()) != GL_NO_ERROR) {
err = err;
}
OpenGL errors do not accumulate. It's just a single global error variable, which gets cleared by glGetError(). You don't have to call it in a loop. Also err = err; is a no-op :)
Just call glGetError() once if you wish to clear the last error.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 months ago
- 4 years ago