get_query_parameter_u64_with_offset is broken
kvark opened this issue · 3 comments
kvark commented
Looks like it accepts an offset and passes it to GL as a pointer?
I think it needs to be 2 variations of this function: one where you pass a buffer with offset, and another where you pass a pointer. Similar to glReadPixels and friends.
grovesNL commented
Zoxc commented
I made it take usize
because this library seem to prefer typical Rust types when possible. An additional variant which uses a pointer would also make sense. The offset variant makes it clear that you're not actually passing a pointer.