Author: manolo Date: 2011-01-09 08:40:38 -0800 (Sun, 09 Jan 2011) New Revision: 8229 Log: Removed compilation warning.
Modified: branches/branch-1.3/src/gl_draw.cxx Modified: branches/branch-1.3/src/gl_draw.cxx =================================================================== --- branches/branch-1.3/src/gl_draw.cxx 2011-01-09 16:07:13 UTC (rev 8228) +++ branches/branch-1.3/src/gl_draw.cxx 2011-01-09 16:40:38 UTC (rev 8229) @@ -485,7 +485,7 @@ fl_fontsize = gl_fontsize; GLfloat colors[4]; glGetFloatv(GL_CURRENT_COLOR, colors); - fl_color(colors[0]*255, colors[1]*255, colors[2]*255); + fl_color((uchar)(colors[0]*255), (uchar)(colors[1]*255), (uchar)(colors[2]*255)); fl_draw(str, n, 0, fifo[current].height - fl_descent()); //put this bitmap in a texture glPushAttrib(GL_TEXTURE_BIT); _______________________________________________ fltk-commit mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-commit
