Brève interruption de service ce midi pour augmentation de la mémoire 🤞

Commit b28d041a authored by Frédéric Larue's avatar Frédéric Larue

gpuAssert() made more robust to ensure that no previous GL error may cause assert test to fail.

parent f0cb3a88
......@@ -24,6 +24,7 @@
#define gpuAssert( expression ) \
{ \
glGetError(); \
expression; \
GLenum err = glGetError(); \
if( err != GL_NO_ERROR ) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment