gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > DevkitPro 1.4.3 & 3D Textures

#128712 - Risine - Mon May 14, 2007 2:01 pm

Just went from 1.4.2 to 1.4.3 Devkitpro, and 3D does not work properly anymore on the DS.
Seems to be a texture problem, as colored faces are well drawn. But texture faces are all white.
Did someone have the same problem?

#128722 - Sunray - Mon May 14, 2007 3:08 pm

glEnable(GL_TEXTURE_2D); ?

#128733 - Risine - Mon May 14, 2007 5:43 pm

just find the problem, GlInit was not doing the same things that on previous versions, ( now it's done to run once for all, not at every frame ).

#128919 - silent_code - Wed May 16, 2007 7:26 pm

devkitpro doesn't have version numbers, just "releases". but those really aren't version numbers, either.

besides that, check the libnds code for glEnable. you should find a GL_TEXTURE_2D somewhere. else you'll have to enable it manually.

all in all that's strange: i often hear ppl saying they *can't* disable textures. though, i'm currently not up to date with the libs. plus, i'm using modified version of some gl-functions (to be able to disable stuff that libnds wouldn't allow me to, just like textures).

EDIT: i'm a moron. overlooked the last post. sorry. well, at least there's the version number thing. ;^p