diff options
author | Eric Anholt <[email protected]> | 2011-06-28 13:55:44 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-07-06 11:17:19 -0700 |
commit | e9d563e3ffed8eadde41c8cb25eaa42e20e9688f (patch) | |
tree | 79b6e1296bc1cea62665564fc18d19842dd89bb8 /src/glsl/builtin_stubs.cpp | |
parent | b043409adfa6ffa6dc78331258de52f7fa6d59aa (diff) |
mesa: Don't skip glGetProgramEnvParam4dvARB if there was already an error.
Fixes a bug caught by oglconform, and now piglit
ARB_vertex_program/getenv4d-with-error. The wrapping of an existing
GL function made it so that we couldn't distinguish an error in
looking up our arguments from an existing error. Instead, make a
helper function to choose the param, and use it from multiple callers.
v2: Move the success case line into the conditional, use COPY_4V more.
Diffstat (limited to 'src/glsl/builtin_stubs.cpp')
0 files changed, 0 insertions, 0 deletions