summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/eval.c
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2012-09-10 08:45:56 +0300
committerOliver McFadden <[email protected]>2012-10-10 12:43:05 +0300
commit2ad4a4754744e71aca472f77e64168dd1a962422 (patch)
treef49d9c3ed47bcc8c87cb68d52fe25861ac3d2a4b /src/mesa/main/eval.c
parent7182a1fc5ea49dffb7678f6248d5c13a003aca62 (diff)
mesa: glGet: fix parameter lookup for apps using multiple APIs
The glGet hash was initialized only once for a single GL API, even if the application later created a context for a different API. This resulted in glGet failing for otherwise valid parameters in a context if that parameter was invalid in another context created earlier. Fix this by using a separate hash table for each API. Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Oliver McFadden <[email protected]>
Diffstat (limited to 'src/mesa/main/eval.c')
0 files changed, 0 insertions, 0 deletions