make sure we don't get a random GL_INVALID_FRAMEBUFFER_OPERATION during test
This commit is contained in:
parent
4fd2f98301
commit
663743b49f
1 changed files with 2 additions and 0 deletions
|
@ -1567,6 +1567,8 @@ static BOOL ogl_shader_test()
|
|||
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||
}
|
||||
|
||||
while (glGetError() != GL_NO_ERROR);
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, surface_tex);
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue