Commit 2b7cada1 authored by Robert Menzel's avatar Robert Menzel

changed returned type and format for internal format GL_DEPTH24_STENCIL8

parent cbf30052
......@@ -253,7 +253,7 @@ GLenum TextureBase::getCompatibleFormat( GLenum _internalFormat )
GLenum TextureBase::getCompatibleType( GLenum _internalFormat )
{
if (_internalFormat == GL_DEPTH24_STENCIL8) {
return GL_DEPTH24_STENCIL8;
return GL_UNSIGNED_INT_24_8;
}
if ( _internalFormat == GL_R8I
|| _internalFormat == GL_R8UI
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment