I'm having problems with with Klepto's MiniB3D mod (specifically mixing 2D and 3D)... it's breaking whenever Renderworld() is called and the error seems to be caused by glActiveTexture.
The debug info from TGlobal.bmx,
(I've tried glActiveTextureARB(GL_TEXTURE0+Layer) with the same result)
Commenting out the glActiveTexture lines results in a black screen.
I'm using Linux and a Radeon Mobility 9000 (R250), the OpenGL glxinfo shows that GL_ARB_multitexture is included with the driver and there doesn't seem to be much reason for it to fall over except a driver bug.
I'm curious if anyone else has had a similiar problem, as I've been digging around and it seems the Radeon 9000 driver from ATI has a bug in that particular area and that *might* be the source of the trouble. For similar "ATI can't code drivers" reasons I can't upgrade the fglrx driver to see if they've fixed it... so I'm curious if there's any way of working around this issue with the hardware I have, or if it's just a lost cause.
The debug info from TGlobal.bmx,
For Local Layer = 0 Until MaxTex glActiveTexture(GL_TEXTURE0+Layer) <- Trips up here glDisable(GL_TEXTURE_CUBE_MAP) glDisable(GL_TEXTURE_GEN_S) glDisable(GL_TEXTURE_GEN_T) glDisable(GL_TEXTURE_GEN_R) glDisable(GL_TEXTURE_2D) Next
(I've tried glActiveTextureARB(GL_TEXTURE0+Layer) with the same result)
Commenting out the glActiveTexture lines results in a black screen.
I'm using Linux and a Radeon Mobility 9000 (R250), the OpenGL glxinfo shows that GL_ARB_multitexture is included with the driver and there doesn't seem to be much reason for it to fall over except a driver bug.
I'm curious if anyone else has had a similiar problem, as I've been digging around and it seems the Radeon 9000 driver from ATI has a bug in that particular area and that *might* be the source of the trouble. For similar "ATI can't code drivers" reasons I can't upgrade the fglrx driver to see if they've fixed it... so I'm curious if there's any way of working around this issue with the hardware I have, or if it's just a lost cause.