diff options
author | Imre Deak <[email protected]> | 2012-09-10 08:45:56 +0300 |
---|---|---|
committer | Oliver McFadden <[email protected]> | 2012-10-10 12:43:05 +0300 |
commit | 2ad4a4754744e71aca472f77e64168dd1a962422 (patch) | |
tree | f49d9c3ed47bcc8c87cb68d52fe25861ac3d2a4b /src/mesa/main/texenvprogram.h | |
parent | 7182a1fc5ea49dffb7678f6248d5c13a003aca62 (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/texenvprogram.h')
0 files changed, 0 insertions, 0 deletions