Commit 87c69437 authored by Robert Menzel's avatar Robert Menzel

reduces warnings on clang++

parent e7fdb623
......@@ -376,9 +376,9 @@ private:
//! Set texture data
inline void setImageData1D(GLenum _uploadTarget, GLenum _uploadFormat, GLenum _uploadType, const GLvoid* _pData = NULL)
{
openGLCriticalErrorOccured();
openGLRareError();
glBindTexture(mTarget, mObjectName);
openGLCriticalErrorOccured();
openGLRareError();
glTexImage1D(
_uploadTarget,
......
......@@ -101,7 +101,7 @@ bool FrameBufferObject::attachColorAttachment( const Attachment &_attachment )
// attach it to the OpenGL object:
bind();
openGLCriticalErrorOccured();
openGLCriticalError();
if (_attachment.renderBuffer) {
// it's a renderBuffer
glFramebufferRenderbuffer( GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + realLocation, GL_RENDERBUFFER, _attachment.renderBuffer->getObjectName() );
......
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