
GetQueryObjectui64() signature
Posted Wednesday, 24 August, 2011 - 15:06 by tksuoran| Project: | The Open Toolkit library |
| Version: | 1.1-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | fixed |
Jump to:
Description
Type of pname is ArbTimerQuery, I believe that is wrong, and it should be GetQueryObjectParam instead.
http://www.opengl.org/registry/specs/ARB/timer_query.txt
"The error INVALID_ENUM is generated if GetQueryObjecti64v or GetQueryObjectui64v is called where is not QUERY_RESULT or QUERY_RESULT_AVAILABLE."


Comments
#1
Thanks for the bug report, fixed in r3114. This was a bug in the generator, where it didn't 'trim' the endings from functions with 64 suffices (like GetQueryObjectui64), causing the parameter and documentation processing to fail (and fallback to safe default values).