summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2013-10-17 10:54:56 -0700
committerCarl Worth <[email protected]>2013-10-28 12:56:49 -0700
commit29996e219912fb1fdf35a6595d8f6261384a18dc (patch)
treec39102134d27050839bf6a1af725bbe5e66e9281 /src/Makefile.am
parent5563dfabc8c1b7cc1a67e4d64311ea29aef43087 (diff)
Remove error when calling glGenQueries/glDeleteQueries while a query is active
There is nothing in the OpenGL specification which prevents the user from calling glGenQueries to generate a new query object while another object is active. Neither is there anything in the Mesa implementation which prevents this. So remove the INVALID_OPERATION errors in this case. Similarly, it is explicitly allowed by the OpenGL specification to delete an active query, so remove the assertion for that case, replacing it with the necesssary state updates to end the query, (clear the bindpt pointer and call into the driver's EndQuery hook). CC: <[email protected]> Reviewed-by: Brian Paul <[email protected]> Tested-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions