From 78bfe51966dc515e5a0f835a1887522770fa4c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 12 Jan 2013 15:48:08 +0100 Subject: [PATCH] Fixed compiler warnings. --- src/AbstractFramebuffer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/AbstractFramebuffer.cpp b/src/AbstractFramebuffer.cpp index 3fa25606f..e0855a4de 100644 --- a/src/AbstractFramebuffer.cpp +++ b/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(count); + static_cast(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(count); + static_cast(attachments); static_cast(rectangle); #endif }