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
241d3062
Commit
241d3062
authored
Jun 04, 2003
by
Lionel Ulmer
Committed by
Alexandre Julliard
Jun 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- protect viewport setting with GL lock
- no need anymore to flush to FB on execute buffer calling
parent
f87c54f1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
mesa.c
dlls/ddraw/d3ddevice/mesa.c
+4
-0
d3dexecutebuffer.c
dlls/ddraw/d3dexecutebuffer.c
+0
-5
No files found.
dlls/ddraw/d3ddevice/mesa.c
View file @
241d3062
...
...
@@ -2232,12 +2232,16 @@ GL_IDirect3DDeviceImpl_7_SetViewport(LPDIRECT3DDEVICE7 iface,
}
This
->
active_viewport
=
*
lpData
;
ENTER_GL
();
/* Set the viewport */
glDepthRange
(
lpData
->
dvMinZ
,
lpData
->
dvMaxZ
);
glViewport
(
lpData
->
dwX
,
This
->
surface
->
surface_desc
.
dwHeight
-
(
lpData
->
dwHeight
+
lpData
->
dwY
),
lpData
->
dwWidth
,
lpData
->
dwHeight
);
LEAVE_GL
();
return
DD_OK
;
}
...
...
dlls/ddraw/d3dexecutebuffer.c
View file @
241d3062
...
...
@@ -74,11 +74,6 @@ static void execute(IDirect3DExecuteBufferImpl *This,
if
(
TRACE_ON
(
ddraw
))
_dump_executedata
(
&
(
This
->
data
));
if
(((
IDirect3DDeviceGLImpl
*
)
lpDevice
)
->
state
==
SURFACE_MEMORY_DIRTY
)
{
lpDevice
->
flush_to_framebuffer
(
lpDevice
,
NULL
,
((
IDirect3DDeviceGLImpl
*
)
lpDevice
)
->
lock_surf
);
}
((
IDirect3DDeviceGLImpl
*
)
lpDevice
)
->
state
=
SURFACE_GL
;
while
(
1
)
{
LPD3DINSTRUCTION
current
=
(
LPD3DINSTRUCTION
)
instr
;
BYTE
size
;
...
...
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