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
4bc97ce8
Commit
4bc97ce8
authored
Aug 02, 2003
by
Lionel Ulmer
Committed by
Alexandre Julliard
Aug 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Report some news caps that were added in DX6.
parent
20698b22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
mesa.c
dlls/ddraw/d3ddevice/mesa.c
+6
-4
No files found.
dlls/ddraw/d3ddevice/mesa.c
View file @
4bc97ce8
...
...
@@ -1735,8 +1735,8 @@ GL_IDirect3DDeviceImpl_7_3T_SetTextureStageState(LPDIRECT3DDEVICE7 iface,
case
D3DTSS_MAGFILTER
:
if
(
TRACE_ON
(
ddraw
))
{
switch
((
D3DTEXTUREMAGFILTER
)
dwState
)
{
case
D3DTFG_POINT
:
TRACE
(
" Stage type is : D3DTSS_MAGFILTER => D3DTF
N
_POINT
\n
"
);
break
;
case
D3DTFG_LINEAR
:
TRACE
(
" Stage type is : D3DTSS_MAGFILTER => D3DTF
N
_LINEAR
\n
"
);
break
;
case
D3DTFG_POINT
:
TRACE
(
" Stage type is : D3DTSS_MAGFILTER => D3DTF
G
_POINT
\n
"
);
break
;
case
D3DTFG_LINEAR
:
TRACE
(
" Stage type is : D3DTSS_MAGFILTER => D3DTF
G
_LINEAR
\n
"
);
break
;
default:
FIXME
(
" Unhandled stage type : D3DTSS_MAGFILTER => %08lx
\n
"
,
dwState
);
break
;
}
}
...
...
@@ -3763,7 +3763,7 @@ static void fill_opengl_primcaps(D3DPRIMCAPS *pc)
{
pc
->
dwSize
=
sizeof
(
*
pc
);
pc
->
dwMiscCaps
=
D3DPMISCCAPS_CONFORMANT
|
D3DPMISCCAPS_CULLCCW
|
D3DPMISCCAPS_CULLCW
|
D3DPMISCCAPS_LINEPATTERNREP
|
D3DPMISCCAPS_MASKZ
;
D3DPMISCCAPS_LINEPATTERNREP
|
D3DPMISCCAPS_MASK
PLANES
|
D3DPMISCCAPS_MASK
Z
;
pc
->
dwRasterCaps
=
D3DPRASTERCAPS_DITHER
|
D3DPRASTERCAPS_FOGRANGE
|
D3DPRASTERCAPS_FOGTABLE
|
D3DPRASTERCAPS_FOGVERTEX
|
D3DPRASTERCAPS_STIPPLE
|
D3DPRASTERCAPS_ZBIAS
|
D3DPRASTERCAPS_ZTEST
|
D3DPRASTERCAPS_SUBPIXEL
;
pc
->
dwZCmpCaps
=
D3DPCMPCAPS_ALWAYS
|
D3DPCMPCAPS_EQUAL
|
D3DPCMPCAPS_GREATER
|
D3DPCMPCAPS_GREATEREQUAL
|
...
...
@@ -3781,7 +3781,9 @@ static void fill_opengl_primcaps(D3DPRIMCAPS *pc)
pc
->
dwTextureCaps
=
D3DPTEXTURECAPS_ALPHA
|
D3DPTEXTURECAPS_ALPHAPALETTE
|
D3DPTEXTURECAPS_BORDER
|
D3DPTEXTURECAPS_PERSPECTIVE
|
D3DPTEXTURECAPS_POW2
|
D3DPTEXTURECAPS_TRANSPARENCY
;
pc
->
dwTextureFilterCaps
=
D3DPTFILTERCAPS_LINEAR
|
D3DPTFILTERCAPS_LINEARMIPLINEAR
|
D3DPTFILTERCAPS_LINEARMIPNEAREST
|
D3DPTFILTERCAPS_MIPLINEAR
|
D3DPTFILTERCAPS_MIPNEAREST
|
D3DPTFILTERCAPS_NEAREST
;
D3DPTFILTERCAPS_MIPLINEAR
|
D3DPTFILTERCAPS_MIPNEAREST
|
D3DPTFILTERCAPS_NEAREST
|
D3DPTFILTERCAPS_MAGFLINEAR
|
D3DPTFILTERCAPS_MAGFPOINT
|
D3DPTFILTERCAPS_MINFLINEAR
|
D3DPTFILTERCAPS_MINFPOINT
|
D3DPTFILTERCAPS_MIPFLINEAR
|
D3DPTFILTERCAPS_MIPFPOINT
;
pc
->
dwTextureBlendCaps
=
D3DPTBLENDCAPS_ADD
|
D3DPTBLENDCAPS_COPY
|
D3DPTBLENDCAPS_DECAL
|
D3DPTBLENDCAPS_DECALALPHA
|
D3DPTBLENDCAPS_DECALMASK
|
D3DPTBLENDCAPS_MODULATE
|
D3DPTBLENDCAPS_MODULATEALPHA
|
D3DPTBLENDCAPS_MODULATEMASK
;
pc
->
dwTextureAddressCaps
=
D3DPTADDRESSCAPS_BORDER
|
D3DPTADDRESSCAPS_CLAMP
|
D3DPTADDRESSCAPS_WRAP
|
D3DPTADDRESSCAPS_INDEPENDENTUV
;
...
...
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