Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3022a4a7
Commit
3022a4a7
authored
May 14, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
May 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add missing GL locking to check_fbo_compat().
parent
177d883d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
utils.c
dlls/wined3d/utils.c
+4
-0
No files found.
dlls/wined3d/utils.c
View file @
3022a4a7
...
@@ -449,6 +449,8 @@ static BOOL check_fbo_compat(const WineD3D_GL_Info *gl_info, GLint internal_form
...
@@ -449,6 +449,8 @@ static BOOL check_fbo_compat(const WineD3D_GL_Info *gl_info, GLint internal_form
GLuint
tex
,
fb
;
GLuint
tex
,
fb
;
GLenum
status
;
GLenum
status
;
ENTER_GL
();
while
(
glGetError
());
while
(
glGetError
());
glGenTextures
(
1
,
&
tex
);
glGenTextures
(
1
,
&
tex
);
glBindTexture
(
GL_TEXTURE_2D
,
tex
);
glBindTexture
(
GL_TEXTURE_2D
,
tex
);
...
@@ -464,6 +466,8 @@ static BOOL check_fbo_compat(const WineD3D_GL_Info *gl_info, GLint internal_form
...
@@ -464,6 +466,8 @@ static BOOL check_fbo_compat(const WineD3D_GL_Info *gl_info, GLint internal_form
checkGLcall
(
"Framebuffer format check"
);
checkGLcall
(
"Framebuffer format check"
);
LEAVE_GL
();
return
status
==
GL_FRAMEBUFFER_COMPLETE_EXT
;
return
status
==
GL_FRAMEBUFFER_COMPLETE_EXT
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment