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
3f6909c1
Commit
3f6909c1
authored
Aug 24, 2009
by
Stefan Dösinger
Committed by
Alexandre Julliard
Aug 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Initialize ps_arb_max_local_constants.
parent
929c80dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
directx.c
dlls/wined3d/directx.c
+3
-0
No files found.
dlls/wined3d/directx.c
View file @
3f6909c1
...
...
@@ -1873,6 +1873,9 @@ static BOOL IWineD3DImpl_FillGLCaps(struct wined3d_gl_info *gl_info)
GL_EXTCALL
(
glGetProgramivARB
(
GL_FRAGMENT_PROGRAM_ARB
,
GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
,
&
gl_max
));
gl_info
->
ps_arb_max_instructions
=
gl_max
;
TRACE_
(
d3d_caps
)(
"Max ARB_FRAGMENT_PROGRAM native instructions: %d.
\n
"
,
gl_info
->
ps_arb_max_instructions
);
GL_EXTCALL
(
glGetProgramivARB
(
GL_FRAGMENT_PROGRAM_ARB
,
GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
,
&
gl_max
));
gl_info
->
ps_arb_max_local_constants
=
gl_max
;
TRACE_
(
d3d_caps
)(
"Max ARB_FRAGMENT_PROGRAM local parameters: %d.
\n
"
,
gl_info
->
ps_arb_max_instructions
);
}
if
(
gl_info
->
supported
[
ARB_VERTEX_PROGRAM
])
{
...
...
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