From 18ff020233f298070b2897da67e14bac31a219d2 Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 9 Feb 2013 11:47:48 -0500 Subject: [PATCH] fix a couple warnings about incorrect return types --- src/framework/graphics/framebuffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/framework/graphics/framebuffer.cpp b/src/framework/graphics/framebuffer.cpp index 5e4aaa0..1a1b8f2 100644 --- a/src/framework/graphics/framebuffer.cpp +++ b/src/framework/graphics/framebuffer.cpp @@ -449,7 +449,7 @@ Texture* Framebuffer::GetTexture(FRAMEBUFFER_DATA_TYPE type) const STACK_TRACE; ASSERT(m_framebufferName != 0); if (m_framebufferName == 0) - return FALSE; + return NULL; Texture *result = NULL; @@ -475,7 +475,7 @@ Renderbuffer* Framebuffer::GetRenderbuffer(FRAMEBUFFER_DATA_TYPE type) const STACK_TRACE; ASSERT(m_framebufferName != 0); if (m_framebufferName == 0) - return FALSE; + return NULL; Renderbuffer *result = NULL;