You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #2660 on April 26, 2021 03:58.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When doing an assert, please provide an explicit error message.
For this example, it will make the software stops without any explanation:
assert(glGetError() == GL_NO_ERROR);
It should be forbidden to have an assert without a clear error message to ease the debug. For this example, having the output of glGetError() https://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glGetError.xml will really simplify the debug.
Beta Was this translation helpful? Give feedback.
All reactions