From: <do...@us...> - 2012-11-17 13:55:31
|
Revision: 7168 http://exult.svn.sourceforge.net/exult/?rev=7168&view=rev Author: dominus Date: 2012-11-17 13:55:25 +0000 (Sat, 17 Nov 2012) Log Message: ----------- little compile fix for clang (and other compilers?) - via Marzo on #exult. Modified Paths: -------------- exult/trunk/imagewin/scale_xbr.h Modified: exult/trunk/imagewin/scale_xbr.h =================================================================== --- exult/trunk/imagewin/scale_xbr.h 2012-11-16 23:52:22 UTC (rev 7167) +++ exult/trunk/imagewin/scale_xbr.h 2012-11-17 13:55:25 UTC (rev 7168) @@ -451,8 +451,8 @@ } //fill block of size n * n with the given color - RGBColor<Manip_pixels, 2> buffer[Scaler::scale * Scaler::scale] = *e; - //fill_block(buffer, *e, Scaler::scale); + RGBColor<Manip_pixels, 2> buffer[Scaler::scale * Scaler::scale]; + fill_block(buffer, *e, Scaler::scale); //perf: no disadvantage compared to hand written assign! OutputMatrix<RGBColor<Manip_pixels, 2>, Scaler::scale, ROT_0> om0(buffer, Scaler::scale); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |