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
198c5888
Commit
198c5888
authored
Jul 02, 2013
by
Robert Menzel
Browse files
Merge branch 'master' of
file:///data/git-repository/acgl/libraries/acgl
parents
8ddc91c5
ae58980c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/ACGL/OpenGL/Objects/FrameBufferObject.cc
View file @
198c5888
...
...
@@ -170,12 +170,12 @@ bool FrameBufferObject::attachColorAttachment( const Attachment &_attachment )
_attachment
.
texture
->
getObjectName
(),
_attachment
.
image
.
mipmapLevel
);
}
else
if
(
dimensionality
==
3
)
{
glFramebufferTexture
3D
(
GL_FRAMEBUFFER
,
glFramebufferTexture
Layer
(
GL_FRAMEBUFFER
,
GL_COLOR_ATTACHMENT0
+
realLocation
,
textureTarget
,
_attachment
.
texture
->
getObjectName
(),
_attachment
.
image
.
layer
,
_attachment
.
image
.
mipmapLevel
);
_attachment
.
image
.
mipmapLevel
,
_attachment
.
image
.
layer
);
}
else
{
Utils
::
error
()
<<
"attachColorAttachment failed, texture target not supported"
<<
std
::
endl
;
}
...
...
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