wined3d: Add missing GL locking to check_fbo_compat().
This commit is contained in:
parent
177d883d95
commit
3022a4a73c
|
@ -449,6 +449,8 @@ static BOOL check_fbo_compat(const WineD3D_GL_Info *gl_info, GLint internal_form
|
|||
GLuint tex, fb;
|
||||
GLenum status;
|
||||
|
||||
ENTER_GL();
|
||||
|
||||
while(glGetError());
|
||||
glGenTextures(1, &tex);
|
||||
glBindTexture(GL_TEXTURE_2D, tex);
|
||||
|
@ -464,6 +466,8 @@ static BOOL check_fbo_compat(const WineD3D_GL_Info *gl_info, GLint internal_form
|
|||
|
||||
checkGLcall("Framebuffer format check");
|
||||
|
||||
LEAVE_GL();
|
||||
|
||||
return status == GL_FRAMEBUFFER_COMPLETE_EXT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue