[Gridflow-cvs] [svn] commit: r3865 - /trunk/optional/gem.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Jun 11 17:13:58 EDT 2008


Author: matju
Date: Wed Jun 11 17:13:58 2008
New Revision: 3865

Log:
using our own post, thanks.

Modified:
    trunk/optional/gem.c

Modified: trunk/optional/gem.c
==============================================================================
--- trunk/optional/gem.c (original)
+++ trunk/optional/gem.c Wed Jun 11 17:13:58 2008
@@ -130,10 +130,10 @@
 	}
 	virtual ~GridFromPix () {}
 	void render(GemState *state) {
-		if (!state->image) {post("gemstate has no pix"); return;}
+		if (!state->image) {::post("gemstate has no pix"); return;}
 		imageStruct &im = state->image->image;
-		if (im.format != GL_RGBA         ) {post("can't produce grid from pix format %d",im.format); return;}
-		if (im.type   != GL_UNSIGNED_BYTE) {post("can't produce grid from pix type %d",  im.type  ); return;}
+		if (im.format != GL_RGBA         ) {::post("can't produce grid from pix format %d",im.format); return;}
+		if (im.type   != GL_UNSIGNED_BYTE) {::post("can't produce grid from pix type %d",  im.type  ); return;}
 		int32 v[] = { im.ysize, im.xsize, im.csize };
 		GridOutlet out(this,0,new Dim(3,v));
 		long sxc = im.xsize*im.csize;



More information about the Gridflow-cvs mailing list