From 87b88070c14978d0f24648c98df4de241d231385 Mon Sep 17 00:00:00 2001 From: dibenedetto Date: Tue, 16 Oct 2007 13:31:23 +0000 Subject: [PATCH] Added a GLenum cast to suppress warning message. --- wrap/gl/gl_surface.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wrap/gl/gl_surface.h b/wrap/gl/gl_surface.h index 148e64cc..43602577 100644 --- a/wrap/gl/gl_surface.h +++ b/wrap/gl/gl_surface.h @@ -25,6 +25,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.1 2007/07/26 16:22:47 m_di_benedetto +First Commit. + ****************************************************************************/ @@ -193,7 +196,7 @@ class gl_surface std::vector sites(this->color_texs.size()); for (size_t i=0; icolor_texs.size(); ++i) { - sites[i] = GL_COLOR_ATTACHMENT0_EXT + i; + sites[i] = GL_COLOR_ATTACHMENT0_EXT + ((GLenum)i); glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, sites[i], GL_TEXTURE_2D, this->color_texs[i], 0); }