[teklib-general] teklib: Fixed clipping test: a flush command is invoked with a T...

Timm S. Mueller tmueller at neoscientists.org
Sun Feb 1 14:25:57 CET 2009


details:   http://hg.teklib.org/teklib/rev/0bf2a06e7dc9
changeset: 239:0bf2a06e7dc9
user:      Timm S. Mueller <tmueller at neoscientists.org>
date:      Thu Jan 22 15:47:11 2009 +0100
description:
Fixed clipping test: a flush command is invoked with a TNULL replyport, which
is no longer sanctioned

diffs (12 lines):

diff -r 364ba3f60f35 -r 0bf2a06e7dc9 src/visual/tests/clipping.c
--- a/src/visual/tests/clipping.c	Thu Jan 22 15:17:59 2009 +0100
+++ b/src/visual/tests/clipping.c	Thu Jan 22 15:47:11 2009 +0100
@@ -37,7 +37,7 @@
 		struct TVFBRequest *req;
 
 		req = (struct TVFBRequest *) TDisplayAllocReq(device);
-		req->tvr_Req.io_ReplyPort = TNULL;
+		req->tvr_Req.io_ReplyPort = TGetSyncPort(TNULL);
 		req->tvr_Req.io_Command = TVCMD_FLUSH;
 		req->tvr_Op.Flush.Window = window;
 		req->tvr_Op.Flush.Rect[0] = -1;


More information about the teklib-general mailing list