Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


#Actualmoldyviolinist

Posted 29 July 2013 - 04:53 PM

glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH24_STENCIL8, m_width, m_height, 0, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, NULL);

This actually fixes the depth test problems, but somehow introduces buffer clearing issues. I'm not sure how that's possible, since everything was clearing fine before.


#1moldyviolinist

Posted 29 July 2013 - 04:50 PM

glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH24_STENCIL8, m_width, m_height, 0, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, NULL);

This actually fixes the depth test problems, but somehow introduces buffer clearing issues. I'm not sure how that's possible, since everything was clearing fine before.


PARTNERS