Jump to content

  • Log In with Google      Sign In   
  • Create Account


#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