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.
glGetInt(GL_GET_POLYGON_RAM_COUNT, &count) not working.
-
- Posts: 29
- Joined: Sun Mar 29, 2009 9:23 pm
Re: glGetInt(GL_GET_POLYGON_RAM_COUNT, &count) not working.
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".
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.
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.
-
- Site Admin
- Posts: 2004
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: glGetInt(GL_GET_POLYGON_RAM_COUNT, &count) not working.
s'ok, this kind of thing is worth leaving for future reference.
Who is online
Users browsing this forum: No registered users and 1 guest