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
53391ac3
Commit
53391ac3
authored
Apr 21, 2003
by
Jason Edmeades
Committed by
Alexandre Julliard
Apr 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DOT3 isn't there on earlier opengl versions.
parent
db89a54b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
device.c
dlls/d3d8/device.c
+4
-2
directx.c
dlls/d3d8/directx.c
+4
-1
No files found.
dlls/d3d8/device.c
View file @
53391ac3
...
...
@@ -3409,12 +3409,14 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetTextureStageState(LPDIRECT3DDEVICE8 ifa
break
;
case
D3DTOP_DOTPRODUCT3
:
#if defined(GL_VERSION_1_3)
if
(
This
->
isDot3
)
{
glTexEnvi
(
GL_TEXTURE_ENV
,
Parm
,
GL_DOT3_RGBA
);
checkGLcall
(
"glTexEnvi(GL_TEXTURE_ENV, comb_target, GL_DOT3_RGBA);"
);
}
else
{
FIXME
(
"DotProduct3 extension requested but not supported via this version of opengl
\n
"
);
break
;
}
#endif
FIXME
(
"DotProduct3 extension requested but not supported via this version of opengl
\n
"
);
break
;
case
D3DTOP_SUBTRACT
:
...
...
dlls/d3d8/directx.c
View file @
53391ac3
...
...
@@ -351,7 +351,10 @@ HRESULT WINAPI IDirect3D8Impl_GetDeviceCaps (LPDIRECT3D8 iface,
pCaps
->
TextureOpCaps
=
D3DTEXOPCAPS_ADD
|
D3DTEXOPCAPS_ADDSIGNED
|
D3DTEXOPCAPS_ADDSIGNED2X
|
D3DTEXOPCAPS_MODULATE
|
D3DTEXOPCAPS_MODULATE2X
|
D3DTEXOPCAPS_MODULATE4X
|
D3DTEXOPCAPS_SELECTARG1
|
D3DTEXOPCAPS_DOTPRODUCT3
|
D3DTEXOPCAPS_DISABLE
;
D3DTEXOPCAPS_SELECTARG1
|
D3DTEXOPCAPS_DISABLE
;
#if defined(GL_VERSION_1_3)
pCaps
->
TextureOpCaps
|=
D3DTEXOPCAPS_DOTPRODUCT3
;
#endif
/* FIXME: Add D3DTEXOPCAPS_ADDSMOOTH D3DTEXOPCAPS_BLENDCURRENTALPHA D3DTEXOPCAPS_BLENDDIFFUSEALPHA D3DTEXOPCAPS_BLENDFACTORALPHA
D3DTEXOPCAPS_BLENDTEXTUREALPHA D3DTEXOPCAPS_BLENDTEXTUREALPHAPM D3DTEXOPCAPS_BUMPENVMAP D3DTEXOPCAPS_BUMPENVMAPLUMINANCE
D3DTEXOPCAPS_LERP D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR D3DTEXOPCAPS_MODULATECOLOR_ADDALPHA
...
...
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