We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63c5364 commit 37cece4Copy full SHA for 37cece4
1 file changed
PluginSource/source/RenderAPI_OpenGLCoreES.cpp
@@ -137,6 +137,7 @@ static GLuint CreateShader(GLenum type, const char* sourceText)
137
138
void RenderAPI_OpenGLCoreES::CreateResources()
139
{
140
+ // Make sure that there are no GL error flags set before creating resources
141
while (glGetError() != GL_NO_ERROR) {}
142
143
// Create shaders
0 commit comments