Make EQ_GL_ERROR more compatible in release builds