tksuoran's picture

GetQueryObjectui64() signature

Project:The Open Toolkit library
Version:1.1-2014-01-02
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#1

Version:1.x-dev» 1.1-dev
Status:open» fixed

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).

the Fiddler's picture

#2

Version:1.1-dev» 1.1-2014-01-02
Status:fixed» closed

Closing bugs fixed in OpenTK 1.1.

If this is still an issue please file a new bug report at https://github.com/opentk/opentk/issues