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
3f79ba30
Commit
3f79ba30
authored
Apr 07, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add an extensionless STATE_INDEXBUFFER handler.
parent
66612e26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
state.c
dlls/wined3d/state.c
+6
-0
No files found.
dlls/wined3d/state.c
View file @
3f79ba30
...
...
@@ -60,6 +60,11 @@ static void state_undefined(DWORD state, IWineD3DStateBlockImpl *stateblock, str
ERR
(
"Undefined state.
\n
"
);
}
static
void
state_nop
(
DWORD
state
,
IWineD3DStateBlockImpl
*
stateblock
,
struct
wined3d_context
*
context
)
{
TRACE
(
"%s: nop in current pipe config.
\n
"
,
debug_d3dstate
(
state
));
}
static
void
state_fillmode
(
DWORD
state
,
IWineD3DStateBlockImpl
*
stateblock
,
struct
wined3d_context
*
context
)
{
WINED3DFILLMODE
Value
=
stateblock
->
renderState
[
WINED3DRS_FILLMODE
];
...
...
@@ -4923,6 +4928,7 @@ const struct StateEntryTemplate misc_state_template[] = {
{
STATE_VIEWPORT
,
{
STATE_VIEWPORT
,
viewport_miscpart
},
WINED3D_GL_EXT_NONE
},
{
STATE_INDEXBUFFER
,
{
STATE_INDEXBUFFER
,
indexbuffer
},
ARB_VERTEX_BUFFER_OBJECT
},
{
STATE_INDEXBUFFER
,
{
STATE_INDEXBUFFER
,
state_nop
},
WINED3D_GL_EXT_NONE
},
{
STATE_RENDER
(
WINED3DRS_ANTIALIAS
),
{
STATE_RENDER
(
WINED3DRS_ANTIALIAS
),
state_antialias
},
WINED3D_GL_EXT_NONE
},
{
STATE_RENDER
(
WINED3DRS_TEXTUREPERSPECTIVE
),
{
STATE_RENDER
(
WINED3DRS_TEXTUREPERSPECTIVE
),
state_perspective
},
WINED3D_GL_EXT_NONE
},
{
STATE_RENDER
(
WINED3DRS_ZENABLE
),
{
STATE_RENDER
(
WINED3DRS_ZENABLE
),
state_zenable
},
WINED3D_GL_EXT_NONE
},
...
...
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