Browse Source

Fixed compiler warnings.

pull/7/head
Vladimír Vondruš 14 years ago
parent
commit
78bfe51966
  1. 4
      src/AbstractFramebuffer.cpp

4
src/AbstractFramebuffer.cpp

@ -148,6 +148,8 @@ void AbstractFramebuffer::invalidateImplementation(GLsizei count, GLenum* attach
glInvalidateFramebuffer(GLenum(bindInternal()), count, attachments);
#else
//glDiscardFramebufferEXT(GLenum(bindInternal()), count, attachments);
static_cast<void>(count);
static_cast<void>(attachments);
#endif
}
@ -157,6 +159,8 @@ void AbstractFramebuffer::invalidateImplementation(GLsizei count, GLenum* attach
glInvalidateSubFramebuffer(GLenum(bindInternal()), count, attachments, rectangle.left(), rectangle.bottom(), rectangle.width(), rectangle.height());
#else
//glDiscardSubFramebufferEXT(GLenum(bindInternal()), count, attachments, rectangle.left(), rectangle.bottom(), rectangle.width(), rectangle.height());
static_cast<void>(count);
static_cast<void>(attachments);
static_cast<void>(rectangle);
#endif
}

Loading…
Cancel
Save