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
f63ce1c4
Commit
f63ce1c4
authored
Mar 26, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Inherit from the proper state table in atifs.
parent
0fa0df78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ati_fragment_shader.c
dlls/wined3d/ati_fragment_shader.c
+2
-2
No files found.
dlls/wined3d/ati_fragment_shader.c
View file @
f63ce1c4
...
...
@@ -727,7 +727,7 @@ struct StateEntry ATIFSStateTable[STATE_HIGHEST + 1];
static
void
init_state_table
()
{
unsigned
int
i
;
const
DWORD
rep
=
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_COLOROP
);
memcpy
(
ATIFSStateTable
,
FFP
StateTable
,
sizeof
(
ATIFSStateTable
));
memcpy
(
ATIFSStateTable
,
arb_program_shader_backend
.
StateTable
,
sizeof
(
ATIFSStateTable
));
for
(
i
=
0
;
i
<
MAX_TEXTURES
;
i
++
)
{
ATIFSStateTable
[
STATE_TEXTURESTAGE
(
i
,
WINED3DTSS_COLOROP
)].
apply
=
set_tex_op_atifs
;
...
...
@@ -835,8 +835,8 @@ static BOOL shader_atifs_dirty_const(IWineD3DDevice *iface) {
}
static
void
shader_atifs_load_init
(
void
)
{
init_state_table
();
arb_program_shader_backend
.
shader_dll_load_init
();
init_state_table
();
}
static
void
shader_atifs_get_caps
(
WINED3DDEVTYPE
devtype
,
WineD3D_GL_Info
*
gl_info
,
struct
shader_caps
*
caps
)
{
...
...
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