nanogui: [Nano-X] GrNewPolygonRegion
Subject:
Re: [Nano-X] GrNewPolygonRegion
From:
"Greg Haerr" ####@####.####
Date:
13 Jun 2000 08:06:39 -0000
Message-Id: <05f101bfd50e$48266f00$15320cd0@gregh>
: GR_REGION_ID GrNewPolygonRegion(int mode, GR_COUNT count, GR_POINT
*points);
:
: But the function is still buggy.
: I tried to trace the bug, and found it seems to lie in the function
: REGION_InsertionSort.
I've added all this into the source tree. There were a couple of
problems. One, the function wasn't added into the Wrapper
list in srvnet.c.
Now polygon regions work fine if the application is linked with
the server. Otherwise, the GR_POINT values are corrupted when
sent from client to server and the server dies. I should have this debugged
shortly. (The nxproto.h states that variable size client/server packets
must be handed padded; I added this but it's still broken)
Regards,
Greg