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
b532284a
Commit
b532284a
authored
Nov 09, 2012
by
Matteo Bruni
Committed by
Alexandre Julliard
Nov 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Ensure GL_FRAGMENT_PROGRAM_ARB is enabled when using ARB shaders.
parent
74a83150
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+4
-5
No files found.
dlls/wined3d/arb_program_shader.c
View file @
b532284a
...
...
@@ -4676,13 +4676,12 @@ static void shader_arb_select(const struct wined3d_context *context, enum wined3
checkGLcall
(
"glBindProgramARB(GL_FRAGMENT_PROGRAM_ARB, priv->current_fprogram_id);"
);
if
(
!
priv
->
use_arbfp_fixed_func
)
{
priv
->
fragment_pipe
->
enable_extension
(
gl_info
,
FALSE
);
/* Enable OpenGL fragment programs. */
gl_info
->
gl_ops
.
gl
.
p_glEnable
(
GL_FRAGMENT_PROGRAM_ARB
);
checkGLcall
(
"glEnable(GL_FRAGMENT_PROGRAM_ARB);"
);
}
/* Enable OpenGL fragment programs. */
gl_info
->
gl_ops
.
gl
.
p_glEnable
(
GL_FRAGMENT_PROGRAM_ARB
);
checkGLcall
(
"glEnable(GL_FRAGMENT_PROGRAM_ARB);"
);
TRACE
(
"(%p) : Bound fragment program %u and enabled GL_FRAGMENT_PROGRAM_ARB
\n
"
,
device
,
priv
->
current_fprogram_id
);
...
...
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