diff --git a/samples/tgidemo.c b/samples/tgidemo.c index 8e663ae2c..3a042ef6f 100644 --- a/samples/tgidemo.c +++ b/samples/tgidemo.c @@ -5,6 +5,7 @@ #include #include #include +#include @@ -70,7 +71,7 @@ static void DoCircles (void) tgi_line (0, MaxY, MaxX, 0); tgi_setcolor (Color); for (I = 10; I < 240; I += 10) { - tgi_circle (X, Y, I); + tgi_ellipse (X, Y, I, tgi_imulround (I, tgi_aspectratio)); } Color = Color == COLOR_FORE ? COLOR_BACK : COLOR_FORE; }