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
16675029
Commit
16675029
authored
May 17, 2003
by
Lionel Ulmer
Committed by
Alexandre Julliard
May 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence some TRACEs to better spot real errors.
parent
a42b0d13
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
6 deletions
+26
-6
mesa.c
dlls/ddraw/d3ddevice/mesa.c
+7
-1
mesa.c
dlls/ddraw/mesa.c
+19
-5
No files found.
dlls/ddraw/d3ddevice/mesa.c
View file @
16675029
...
...
@@ -723,7 +723,7 @@ static void draw_primitive_start_GL(D3DPRIMITIVETYPE d3dpt)
break
;
default
:
TRACE
(
"Unhandled primitive
\n
"
);
FIXME
(
"Unhandled primitive %08x
\n
"
,
d3dpt
);
break
;
}
}
...
...
@@ -1860,6 +1860,12 @@ GL_IDirect3DDeviceImpl_7_3T_SetTextureStageState(LPDIRECT3DDEVICE7 iface,
color
[
3
]
=
((
dwState
>>
24
)
&
0xFF
)
/
255
.
0
;
glTexParameterfv
(
GL_TEXTURE_2D
,
GL_TEXTURE_BORDER_COLOR
,
color
);
TRACE
(
" Stage type : D3DTSS_BORDERCOLOR => %02lx %02lx %02lx %02lx (RGBA)
\n
"
,
((
dwState
>>
16
)
&
0xFF
),
((
dwState
>>
8
)
&
0xFF
),
((
dwState
>>
0
)
&
0xFF
),
((
dwState
>>
24
)
&
0xFF
));
}
break
;
case
D3DTSS_TEXCOORDINDEX
:
{
...
...
dlls/ddraw/mesa.c
View file @
16675029
...
...
@@ -131,13 +131,17 @@ void set_render_state(IDirect3DDeviceImpl* This,
break
;
case
D3DRENDERSTATE_WRAPU
:
/* 5 */
if
(
dwRenderState
)
ERR
(
"WRAPU mode unsupported by OpenGL.. Expect graphical glitches !
\n
"
);
break
;
case
D3DRENDERSTATE_WRAPV
:
/* 6 */
case
D3DRENDERSTATE_WRAP0
:
/* 128 */
case
D3DRENDERSTATE_WRAP1
:
/* 129 */
case
D3DRENDERSTATE_WRAP2
:
/* 130 */
case
D3DRENDERSTATE_WRAP3
:
/* 131 */
case
D3DRENDERSTATE_WRAP4
:
/* 132 */
case
D3DRENDERSTATE_WRAP5
:
/* 133 */
case
D3DRENDERSTATE_WRAP6
:
/* 134 */
case
D3DRENDERSTATE_WRAP7
:
/* 135 */
if
(
dwRenderState
)
ERR
(
"
WRAPV mode
unsupported by OpenGL.. Expect graphical glitches !
\n
"
);
ERR
(
"
Texture WRAP modes
unsupported by OpenGL.. Expect graphical glitches !
\n
"
);
break
;
case
D3DRENDERSTATE_ZENABLE
:
/* 7 */
...
...
@@ -487,6 +491,16 @@ void store_render_state(IDirect3DDeviceImpl *This,
}
else
if
(
dwRenderStateType
==
D3DRENDERSTATE_TEXTUREADDRESS
)
{
lpStateBlock
->
render_state
[
D3DRENDERSTATE_TEXTUREADDRESSU
-
1
]
=
dwRenderState
;
lpStateBlock
->
render_state
[
D3DRENDERSTATE_TEXTUREADDRESSV
-
1
]
=
dwRenderState
;
}
else
if
(
dwRenderStateType
==
D3DRENDERSTATE_WRAPU
)
{
if
(
dwRenderState
)
lpStateBlock
->
render_state
[
D3DRENDERSTATE_WRAP0
]
|=
D3DWRAP_U
;
else
lpStateBlock
->
render_state
[
D3DRENDERSTATE_WRAP0
]
&=
~
D3DWRAP_U
;
}
else
if
(
dwRenderStateType
==
D3DRENDERSTATE_WRAPV
)
{
if
(
dwRenderState
)
lpStateBlock
->
render_state
[
D3DRENDERSTATE_WRAP0
]
|=
D3DWRAP_V
;
else
lpStateBlock
->
render_state
[
D3DRENDERSTATE_WRAP0
]
&=
~
D3DWRAP_V
;
}
/* Default case */
...
...
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