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
d1254edd
Commit
d1254edd
authored
Jan 20, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Properly enable / disable register combiners.
parent
da35622b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
3 deletions
+19
-3
nvidia_texture_shader.c
dlls/wined3d/nvidia_texture_shader.c
+19
-3
No files found.
dlls/wined3d/nvidia_texture_shader.c
View file @
d1254edd
...
...
@@ -629,15 +629,31 @@ static void nvrc_texfactor(struct wined3d_context *context, const struct wined3d
}
/* Context activation is done by the caller. */
static
void
nvrc_enable
(
BOOL
enable
)
{}
static
void
nvrc_enable
(
BOOL
enable
)
{
if
(
enable
)
{
glEnable
(
GL_REGISTER_COMBINERS_NV
);
checkGLcall
(
"glEnable(GL_REGISTER_COMBINERS_NV)"
);
}
else
{
glDisable
(
GL_REGISTER_COMBINERS_NV
);
checkGLcall
(
"glDisable(GL_REGISTER_COMBINERS_NV)"
);
}
}
/* Context activation and GL locking are done by the caller. */
static
void
nvts_enable
(
BOOL
enable
)
{
if
(
enable
)
{
nvrc_enable
(
enable
);
if
(
enable
)
{
glEnable
(
GL_TEXTURE_SHADER_NV
);
checkGLcall
(
"glEnable(GL_TEXTURE_SHADER_NV)"
);
}
else
{
}
else
{
glDisable
(
GL_TEXTURE_SHADER_NV
);
checkGLcall
(
"glDisable(GL_TEXTURE_SHADER_NV)"
);
}
...
...
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