[CLOSED] Removing 16-element limitation of glGetXXX methods

Started by ra4king, May 29, 2012, 06:05:54

Previous topic - Next topic

ra4king

Forcing us to make 16-element buffers if we only wanted 2 elements is kinda dumb.

I understand this is in place to avoid buffer overflow, but why can't you just add a size parameter to nglGetXXXv so it only copies in min(size,elements)?
-Roi

princec

Because OpenGL does not have any way to validate the amount of data actually returned from a glGetxx method. So go and moan about something else :) Perhaps you could keep your attention on the broken mouse delta APIs in Windows ;)

Cas :)

ra4king

Quote from: princec on May 29, 2012, 07:33:43
Because OpenGL does not have any way to validate the amount of data actually returned from a glGetxx method.
Oh well that sucks :(

Quote from: princec on May 29, 2012, 07:33:43
So go and moan about something else :) Perhaps you could keep your attention on the broken mouse delta APIs in Windows ;)
Hehehe that's still an issue?! ;D
-Roi