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
b110a962
Commit
b110a962
authored
Jan 03, 2003
by
Christian Costa
Committed by
Alexandre Julliard
Jan 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reenable device's default render states initialization.
parent
e51b0070
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
main.c
dlls/ddraw/d3ddevice/main.c
+3
-3
mesa.c
dlls/ddraw/d3ddevice/mesa.c
+1
-3
No files found.
dlls/ddraw/d3ddevice/main.c
View file @
b110a962
...
...
@@ -35,7 +35,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
ddraw
);
DWORD
InitRenderStateTab
[]
=
{
/*D3DRENDERSTATE_TEXTUREHANDLE, (DWORD)NULL,*/
D3DRENDERSTATE_TEXTUREHANDLE
,
(
DWORD
)
NULL
,
D3DRENDERSTATE_ANTIALIAS
,
D3DANTIALIAS_NONE
,
/* FIXME: D3DRENDERSTATE_TEXTUREADDRESS */
D3DRENDERSTATE_TEXTUREPERSPECTIVE
,
TRUE
,
...
...
@@ -73,7 +73,7 @@ DWORD InitRenderStateTab[] = {
/* FIXME: D3DRENDERSTATE_FOGTABLESTART (same as D3DRENDERSTATE_FOGSTART) */
/* FIXME: D3DRENDERSTATE_FOGTABLEEND (same as D3DRENDERSTATE_FOGEND) */
D3DRENDERSTATE_FOGTABLEDENSITY
,
0x3F80000
,
/* 1.0f (same as D3DRENDERSTATE_FOGDENSITY) */
/* F
XI
ME: D3DRENDERSTATE_STIPPLEENABLE */
/* F
IX
ME: D3DRENDERSTATE_STIPPLEENABLE */
D3DRENDERSTATE_EDGEANTIALIAS
,
FALSE
,
D3DRENDERSTATE_COLORKEYENABLE
,
FALSE
,
/* FIXME: D3DRENDERSTATE_BORDERCOLOR */
...
...
@@ -104,7 +104,7 @@ DWORD InitRenderStateTab[] = {
D3DRENDERSTATE_WRAP6
,
0
,
D3DRENDERSTATE_WRAP7
,
0
,
D3DRENDERSTATE_CLIPPING
,
FALSE
,
D3DRENDERSTATE_LIGHTING
,
TRUE
,
D3DRENDERSTATE_LIGHTING
,
FALSE
,
/* FIXME: Should be TRUE */
D3DRENDERSTATE_EXTENTS
,
FALSE
,
D3DRENDERSTATE_AMBIENT
,
D3DRGBA
(
0
,
0
,
0
,
0
),
D3DRENDERSTATE_FOGVERTEXMODE
,
D3DFOG_NONE
,
...
...
dlls/ddraw/d3ddevice/mesa.c
View file @
b110a962
...
...
@@ -2133,9 +2133,7 @@ d3ddevice_create(IDirect3DDeviceImpl **obj, IDirect3DImpl *d3d, IDirectDrawSurfa
TRACE
(
" current context set
\n
"
);
/* Apply default render state values */
/* FIXME: disable because our current D3D code does not like it */
/* apply_render_state(gl_object, &object->state_block); */
apply_render_state
(
gl_object
,
&
object
->
state_block
);
/* FIXME: do something similar for ligh_state and texture_stage_state */
glClearColor
(
0
.
0
,
0
.
0
,
0
.
0
,
0
.
0
);
...
...
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