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
f86e64e1
Commit
f86e64e1
authored
Jun 02, 2004
by
Raphael Junqueira
Committed by
Alexandre Julliard
Jun 02, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile fix.
parent
db0d0bb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
utils.c
dlls/d3d8/utils.c
+14
-14
No files found.
dlls/d3d8/utils.c
View file @
f86e64e1
...
...
@@ -1602,8 +1602,8 @@ void set_tex_op(LPDIRECT3DDEVICE8 iface, BOOL isAlpha, int Stage, D3DTEXTUREOP o
break
;
case
D3DTOP_ADDSMOOTH
:
if
(
GL_SUPPORT
(
ATI_TEXTURE_ENV_COMBINE3
))
{
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
useext
(
GL_MODULATE_ADD_ATI
)
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
useext(GL_MODULATE_ADD_ATI)
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
GL_MODULATE_ADD_ATI
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
GL_MODULATE_ADD_ATI
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
src0_target
,
src1
);
checkGLcall
(
"GL_TEXTURE_ENV, src0_target, src1"
);
switch
(
opr1
)
{
...
...
@@ -1629,8 +1629,8 @@ void set_tex_op(LPDIRECT3DDEVICE8 iface, BOOL isAlpha, int Stage, D3DTEXTUREOP o
break
;
case
D3DTOP_BLENDTEXTUREALPHAPM
:
if
(
GL_SUPPORT
(
ATI_TEXTURE_ENV_COMBINE3
))
{
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
useext
(
GL_MODULATE_ADD_ATI
)
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
useext(GL_MODULATE_ADD_ATI)
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
GL_MODULATE_ADD_ATI
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
GL_MODULATE_ADD_ATI
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
src0_target
,
GL_TEXTURE
);
checkGLcall
(
"GL_TEXTURE_ENV, src0_target, GL_TEXTURE"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
opr0_target
,
GL_ONE_MINUS_SRC_ALPHA
);
...
...
@@ -1650,8 +1650,8 @@ void set_tex_op(LPDIRECT3DDEVICE8 iface, BOOL isAlpha, int Stage, D3DTEXTUREOP o
break
;
case
D3DTOP_MODULATEALPHA_ADDCOLOR
:
if
(
GL_SUPPORT
(
ATI_TEXTURE_ENV_COMBINE3
))
{
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
useext
(
GL_MODULATE_ADD_ATI
)
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
useext(GL_MODULATE_ADD_ATI)
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
GL_MODULATE_ADD_ATI
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
GL_MODULATE_ADD_ATI
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
src0_target
,
src1
);
checkGLcall
(
"GL_TEXTURE_ENV, src0_target, src1"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
opr0_target
,
GL_SRC_ALPHA
);
...
...
@@ -1671,8 +1671,8 @@ void set_tex_op(LPDIRECT3DDEVICE8 iface, BOOL isAlpha, int Stage, D3DTEXTUREOP o
break
;
case
D3DTOP_MODULATECOLOR_ADDALPHA
:
if
(
GL_SUPPORT
(
ATI_TEXTURE_ENV_COMBINE3
))
{
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
useext
(
GL_MODULATE_ADD_ATI
)
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
useext(GL_MODULATE_ADD_ATI)
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
GL_MODULATE_ADD_ATI
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
GL_MODULATE_ADD_ATI
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
src0_target
,
src1
);
checkGLcall
(
"GL_TEXTURE_ENV, src0_target, src1"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
opr0_target
,
opr1
);
...
...
@@ -1692,8 +1692,8 @@ void set_tex_op(LPDIRECT3DDEVICE8 iface, BOOL isAlpha, int Stage, D3DTEXTUREOP o
break
;
case
D3DTOP_MODULATEINVALPHA_ADDCOLOR
:
if
(
GL_SUPPORT
(
ATI_TEXTURE_ENV_COMBINE3
))
{
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
useext
(
GL_MODULATE_ADD_ATI
)
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
useext(GL_MODULATE_ADD_ATI)
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
GL_MODULATE_ADD_ATI
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
GL_MODULATE_ADD_ATI
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
src0_target
,
src1
);
checkGLcall
(
"GL_TEXTURE_ENV, src0_target, src1"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
opr0_target
,
GL_ONE_MINUS_SRC_ALPHA
);
...
...
@@ -1713,8 +1713,8 @@ void set_tex_op(LPDIRECT3DDEVICE8 iface, BOOL isAlpha, int Stage, D3DTEXTUREOP o
break
;
case
D3DTOP_MODULATEINVCOLOR_ADDALPHA
:
if
(
GL_SUPPORT
(
ATI_TEXTURE_ENV_COMBINE3
))
{
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
useext
(
GL_MODULATE_ADD_ATI
)
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
useext(GL_MODULATE_ADD_ATI)
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
GL_MODULATE_ADD_ATI
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
GL_MODULATE_ADD_ATI
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
src0_target
,
src1
);
checkGLcall
(
"GL_TEXTURE_ENV, src0_target, src1"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
opr0_target
,
opr1
);
...
...
@@ -1734,8 +1734,8 @@ void set_tex_op(LPDIRECT3DDEVICE8 iface, BOOL isAlpha, int Stage, D3DTEXTUREOP o
break
;
case
D3DTOP_MULTIPLYADD
:
if
(
GL_SUPPORT
(
ATI_TEXTURE_ENV_COMBINE3
))
{
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
useext
(
GL_MODULATE_ADD_ATI
)
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
useext(GL_MODULATE_ADD_ATI)
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
comb_target
,
GL_MODULATE_ADD_ATI
);
checkGLcall
(
"GL_TEXTURE_ENV, comb_target,
GL_MODULATE_ADD_ATI
"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
src0_target
,
src3
);
checkGLcall
(
"GL_TEXTURE_ENV, src0_target, src3"
);
glTexEnvi
(
GL_TEXTURE_ENV
,
opr0_target
,
opr3
);
...
...
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