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
0e2713a1
Commit
0e2713a1
authored
Aug 21, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Aug 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove unneeded code.
The fixed function backend disables the extension. Also messing with the final combiner shouldn't be needed if nvrc is disabled.
parent
a674ae71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
context.c
dlls/wined3d/context.c
+0
-9
No files found.
dlls/wined3d/context.c
View file @
0e2713a1
...
...
@@ -740,10 +740,6 @@ static inline void SetupForBlit(IWineD3DDeviceImpl *This, WineD3DContext *contex
/* Disable all textures. The caller can then bind a texture it wants to blit
* from
*/
if
(
GL_SUPPORT
(
NV_REGISTER_COMBINERS
))
{
glDisable
(
GL_REGISTER_COMBINERS_NV
);
checkGLcall
(
"glDisable(GL_REGISTER_COMBINERS_NV)"
);
}
if
(
GL_SUPPORT
(
ARB_MULTITEXTURE
))
{
/* The blitting code uses (for now) the fixed function pipeline, so make sure to reset all fixed
* function texture unit. No need to care for higher samplers
...
...
@@ -855,11 +851,6 @@ static inline void SetupForBlit(IWineD3DDeviceImpl *This, WineD3DContext *contex
Context_MarkStateDirty
(
context
,
STATE_RENDER
(
WINED3DRS_SPECULARENABLE
),
StateTable
);
checkGLcall
(
"glDisable(GL_COLOR_SUM_EXT)"
);
}
if
(
GL_SUPPORT
(
NV_REGISTER_COMBINERS
))
{
GL_EXTCALL
(
glFinalCombinerInputNV
(
GL_VARIABLE_B_NV
,
GL_SPARE0_NV
,
GL_UNSIGNED_IDENTITY_NV
,
GL_RGB
));
Context_MarkStateDirty
(
context
,
STATE_RENDER
(
WINED3DRS_SPECULARENABLE
),
StateTable
);
checkGLcall
(
"glFinalCombinerInputNV"
);
}
/* Setup transforms */
glMatrixMode
(
GL_MODELVIEW
);
...
...
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