Hello there,
I have this issue of switching back to the debug drawer at run-time. All I get is a black screen even though my m_dynamicsWorld->debugDrawWorld() is still getting called.
If I start with drawing debug it is displayed fine. I then switch to my draw, then back to debug, and it displays nothing.
Anyone else had this issue or even better an idea as to why this is happening?
Cheers
Switching back to Debug Draw issue
-
- Posts: 4
- Joined: Fri Feb 25, 2011 5:40 pm
Re: Switching back to Debug Draw issue
Apologies.
It was just an opengl issue as I wasnt calling glDisable(GL_TEXTURE_2D); before my debug draw calls.
Silly me.
It was just an opengl issue as I wasnt calling glDisable(GL_TEXTURE_2D); before my debug draw calls.
Silly me.