Page 1 of 1
glGetInt(GL_GET_POLYGON_RAM_COUNT, &count) not working.
Posted: Wed Oct 21, 2009 5:24 pm
by Sylus101
I'm using libnds 1.3.8 and glGetInt() does not appear to be retrieving any information for either of these enum values:
GL_GET_VERTEX_RAM_COUNT
GL_GET_POLYGON_RAM_COUNT
I ran into the issue myself and saw that it occurs the same in the BoxTest example.
Re: glGetInt(GL_GET_POLYGON_RAM_COUNT, &count) not working.
Posted: Wed Oct 21, 2009 5:44 pm
by RyouArashi
no$gba (and maybe other emulators as well) don't emulate this,
but it works fine on hardware (just tested the BoxTest example on M3DS Real).
Note: In the BoxTest example the printfs for polygon and vertex count
use "%i", which give incorrect output when the number of digits changes.
It should be something like "%4i".
Re: glGetInt(GL_GET_POLYGON_RAM_COUNT, &count) not working.
Posted: Wed Oct 21, 2009 5:56 pm
by Sylus101
My fault, sorry about this one. My card is currently broken, so I'm out of the habit of double checking. A mod can surely remove this post.
Re: glGetInt(GL_GET_POLYGON_RAM_COUNT, &count) not working.
Posted: Wed Oct 21, 2009 8:22 pm
by WinterMute
s'ok, this kind of thing is worth leaving for future reference.