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
e2773477
Commit
e2773477
authored
Jul 04, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove some dead code.
parent
197f472e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
+0
-30
state.c
dlls/wined3d/state.c
+0
-30
No files found.
dlls/wined3d/state.c
View file @
e2773477
...
...
@@ -4473,42 +4473,12 @@ static void ffp_fragment_get_caps(WINED3DDEVTYPE devtype, WineD3D_GL_Info *gl_in
if
(
GL_SUPPORT
(
ARB_TEXTURE_ENV_DOT3
))
pCaps
->
TextureOpCaps
|=
WINED3DTEXOPCAPS_DOTPRODUCT3
;
if
(
GL_SUPPORT
(
NV_REGISTER_COMBINERS
))
{
pCaps
->
TextureOpCaps
|=
WINED3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR
|
WINED3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA
;
}
if
(
GL_SUPPORT
(
ATI_ENVMAP_BUMPMAP
))
{
pCaps
->
TextureOpCaps
|=
WINED3DTEXOPCAPS_BUMPENVMAP
;
}
else
if
(
GL_SUPPORT
(
NV_TEXTURE_SHADER2
))
{
/* Bump mapping is supported already in NV_TEXTURE_SHADER, but that extension does
* not support 3D textures. This asks for trouble if an app uses both bump mapping
* and 3D textures. It also allows us to keep the code simpler by having texture
* shaders constantly enabled.
*/
pCaps
->
TextureOpCaps
|=
WINED3DTEXOPCAPS_BUMPENVMAP
;
/* TODO: Luminance bump map? */
}
#if 0
/* FIXME: Add
pCaps->TextureOpCaps |= WINED3DTEXOPCAPS_BUMPENVMAPLUMINANCE
WINED3DTEXOPCAPS_PREMODULATE */
#endif
pCaps
->
MaxTextureBlendStages
=
GL_LIMITS
(
texture_stages
);
pCaps
->
MaxSimultaneousTextures
=
GL_LIMITS
(
textures
);
if
(
GL_SUPPORT
(
NV_REGISTER_COMBINERS
))
{
pCaps
->
PrimitiveMiscCaps
|=
WINED3DPMISCCAPS_TSSARGTEMP
;
}
/* The caps below can be supported but aren't handled yet in utils.c 'd3dta_to_combiner_input', disable them until support is fixed */
#if 0
if (GL_SUPPORT(NV_REGISTER_COMBINERS2))
pCaps->PrimitiveMiscCaps |= WINED3DPMISCCAPS_PERSTAGECONSTANT;
#endif
}
static
HRESULT
ffp_fragment_alloc
(
IWineD3DDevice
*
iface
)
{
return
WINED3D_OK
;
}
...
...
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