Index:
[thread]
[date]
[subject]
[author]
From: Hartmut Niemann <niemann@cip.e-technik.uni-erlangen.de>
To : ggi-develop@eskimo.com
Date: Fri, 17 Jul 1998 09:02:24 +0200 (MESZ)
Re: triggered some probs with libAA-target
>
>
> i just started writing the tutorial. since i mostly do programming stuff at
Great!
> the console i wanted to test if the libAA-target is working.
>
> here are my test results:
>
>
> here is the patch:
> >>>
> --- testpattern.c~ Wed Jul 8 19:03:05 1998
> +++ testpattern.c Fri Jul 17 00:46:23 1998
> @@ -569,6 +569,6 @@
>
> if (argc==1) {
> - sx=GGI_AUTO;
> - sy=GGI_AUTO;
> + sx=GT_AUTO;
> + sy=GT_AUTO;
This is wrong.
GGI_AUTO is correct, it's an int. GT_AUTO is a graphtype.
> vx=sx;
> vy=sy;
> @@ -604,5 +604,5 @@
> switch (depth) {
> case -1:
> - type=GGI_AUTO;
> + type=GT_AUTO;
This seems OK.
> break;
> case 1:
> @@ -642,5 +642,5 @@
>
> if (textmode)
> - err=ggiSetTextMode(vis,sx,sy,vx,vy,GGI_AUTO,GGI_AUTO,type);
> + err=ggiSetTextMode(vis,sx,sy,vx,vy,GT_AUTO,GT_AUTO,type);
See above.
I don't know why GT_AUTO works for you there, but it shouldn't.
Or did I miss the latest libggi changes????
> else
> err=ggiSetGraphMode(vis,sx,sy,vx,vy,type);
> <<<
> ++ point 7 cleared
>
> Jan
>
Hartmut.
--
Hartmut Niemann -- niemann(a)cip.e-technik.uni-erlangen.de
http://cip2.e-technik.uni-erlangen.de:8080/hyplan/niemann/index_en.html [/ggi]
Index:
[thread]
[date]
[subject]
[author]