summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-06-28 13:55:44 -0700
committerEric Anholt <[email protected]>2011-07-06 11:17:19 -0700
commite9d563e3ffed8eadde41c8cb25eaa42e20e9688f (patch)
tree79b6e1296bc1cea62665564fc18d19842dd89bb8 /src/gallium/winsys
parentb043409adfa6ffa6dc78331258de52f7fa6d59aa (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/gallium/winsys')
0 files changed, 0 insertions, 0 deletions