Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e2601327
Commit
e2601327
authored
May 13, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
May 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add missing GL locking to set_blit_dimension() calls.
parent
1070e075
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
context.c
dlls/wined3d/context.c
+5
-1
No files found.
dlls/wined3d/context.c
View file @
e2601327
...
...
@@ -1109,7 +1109,9 @@ static inline void SetupForBlit(IWineD3DDeviceImpl *This, WineD3DContext *contex
TRACE
(
"Setting up context %p for blitting
\n
"
,
context
);
if
(
context
->
last_was_blit
)
{
if
(
context
->
blit_w
!=
width
||
context
->
blit_h
!=
height
)
{
ENTER_GL
();
set_blit_dimension
(
width
,
height
);
LEAVE_GL
();
context
->
blit_w
=
width
;
context
->
blit_h
=
height
;
/* No need to dirtify here, the states are still dirtified because they weren't
* applied since the last SetupForBlit call. Otherwise last_was_blit would not
...
...
@@ -1268,9 +1270,11 @@ static inline void SetupForBlit(IWineD3DDeviceImpl *This, WineD3DContext *contex
glDisable
(
GL_CLIP_PLANE4
);
checkGLcall
(
"glDisable(clip plane 4)"
);
glDisable
(
GL_CLIP_PLANE5
);
checkGLcall
(
"glDisable(clip plane 5)"
);
Context_MarkStateDirty
(
context
,
STATE_RENDER
(
WINED3DRS_CLIPPING
),
StateTable
);
LEAVE_GL
();
set_blit_dimension
(
width
,
height
);
LEAVE_GL
();
context
->
blit_w
=
width
;
context
->
blit_h
=
height
;
Context_MarkStateDirty
(
context
,
STATE_VIEWPORT
,
StateTable
);
Context_MarkStateDirty
(
context
,
STATE_TRANSFORM
(
WINED3DTS_PROJECTION
),
StateTable
);
...
...
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