Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ACGL
acgl
Commits
2b7cada1
Commit
2b7cada1
authored
Jun 27, 2013
by
Robert Menzel
Browse files
changed returned type and format for internal format GL_DEPTH24_STENCIL8
parent
cbf30052
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ACGL/OpenGL/Objects/Texture.cc
View file @
2b7cada1
...
...
@@ -253,7 +253,7 @@ GLenum TextureBase::getCompatibleFormat( GLenum _internalFormat )
GLenum
TextureBase
::
getCompatibleType
(
GLenum
_internalFormat
)
{
if
(
_internalFormat
==
GL_DEPTH24_STENCIL8
)
{
return
GL_
DEPTH24_STENCIL
8
;
return
GL_
UNSIGNED_INT_24_
8
;
}
if
(
_internalFormat
==
GL_R8I
||
_internalFormat
==
GL_R8UI
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment