Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mesa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
virgl-es
mesa
Commits
001a7bfd
Commit
001a7bfd
authored
Aug 23, 2010
by
Eric Anholt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mesa: Don't add 1 to GL_ACTIVE_UNIFORM_MAX_LENGTH.
Fixes: glsl-getactiveuniform-length.
parent
c2f074d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
src/mesa/main/shaderapi.c
src/mesa/main/shaderapi.c
+0
-2
No files found.
src/mesa/main/shaderapi.c
View file @
001a7bfd
...
...
@@ -644,8 +644,6 @@ get_programiv(GLcontext *ctx, GLuint program, GLenum pname, GLint *params)
break
;
case
GL_ACTIVE_UNIFORM_MAX_LENGTH
:
*
params
=
_mesa_longest_uniform_name
(
shProg
->
Uniforms
);
if
(
*
params
>
0
)
(
*
params
)
++
;
/* add one for terminating zero */
break
;
case
GL_PROGRAM_BINARY_LENGTH_OES
:
*
params
=
0
;
...
...
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