[Gridflow-cvs] [svn] commit: r5355 - /trunk/src/gem.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed Apr 7 16:16:30 EDT 2010


Author: matju
Date: Wed Apr  7 16:16:30 2010
New Revision: 5355

Log:
1st attempt to fix another colorspace problem with [#to_pix]

Modified:
    trunk/src/gem.cxx

Modified: trunk/src/gem.cxx
==============================================================================
--- trunk/src/gem.cxx (original)
+++ trunk/src/gem.cxx Wed Apr  7 16:16:30 2010
@@ -127,7 +127,11 @@
 		im.ysize = 1;
 		im.xsize = 1;
 		im.csize = 4;
-		im.format = GL_RGBA;
+		#ifdef MACOSX
+			im.format = GL_BGRA;
+		#else
+			im.format = GL_RGBA;
+		#endif
 		im.type = GL_UNSIGNED_BYTE;
 		im.allocate();
 		/* this red on Linux-386, red on OSX-386, what color on OSX-PPC ? (blue ?) */



More information about the Gridflow-cvs mailing list