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
19ef31e8
Commit
19ef31e8
authored
Dec 23, 2002
by
Lionel Ulmer
Committed by
Alexandre Julliard
Dec 23, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fix small TRACE bug introduced in a previous patch
- add WRAPU / WRAPV warning
parent
69e711ef
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
main.c
dlls/ddraw/dsurface/main.c
+2
-1
mesa.c
dlls/ddraw/mesa.c
+10
-0
No files found.
dlls/ddraw/dsurface/main.c
View file @
19ef31e8
...
...
@@ -991,9 +991,10 @@ Main_DirectDrawSurface_Lock(LPDIRECTDRAWSURFACE7 iface, LPRECT prect,
TRACE
(
" - locking flags : "
);
DDRAW_dump_lockflag
(
flags
);
}
if
(
WARN_ON
(
ddraw
))
{
if
(
flags
&
~
(
DDLOCK_WAIT
|
DDLOCK_READONLY
|
DDLOCK_WRITEONLY
))
if
(
flags
&
~
(
DDLOCK_WAIT
|
DDLOCK_READONLY
|
DDLOCK_WRITEONLY
))
{
WARN
(
" - unsupported locking flag : "
);
DDRAW_dump_lockflag
(
flags
&
~
(
DDLOCK_WAIT
|
DDLOCK_READONLY
|
DDLOCK_WRITEONLY
));
}
}
/* First, copy the Surface description */
DD_STRUCT_COPY_BYSIZE
(
pDDSD
,
&
(
This
->
surface_desc
));
...
...
dlls/ddraw/mesa.c
View file @
19ef31e8
...
...
@@ -109,6 +109,16 @@ void set_render_state(D3DRENDERSTATETYPE dwRenderStateType,
glHint
(
GL_PERSPECTIVE_CORRECTION_HINT
,
GL_FASTEST
);
break
;
case
D3DRENDERSTATE_WRAPU
:
/* 5 */
if
(
dwRenderState
)
ERR
(
"WRAPU mode unsupported by OpenGL.. Expect graphical glitches !
\n
"
);
break
;
case
D3DRENDERSTATE_WRAPV
:
/* 6 */
if
(
dwRenderState
)
ERR
(
"WRAPV mode unsupported by OpenGL.. Expect graphical glitches !
\n
"
);
break
;
case
D3DRENDERSTATE_ZENABLE
:
/* 7 */
if
(
dwRenderState
)
glEnable
(
GL_DEPTH_TEST
);
...
...
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