test/testgesture.c
changeset 9274 f95cc158ed4f
parent 9273 9f1c18388f2c
child 9275 a40415296b77
--- a/test/testgesture.c	Fri Dec 12 21:00:25 2014 +0100
+++ b/test/testgesture.c	Fri Dec 12 21:02:46 2014 +0100
@@ -103,7 +103,7 @@
   float tx,ty;
   float xr;
   for(ty = (float)-SDL_fabs(r);ty <= (float)SDL_fabs((int)r);ty++) {
-    xr = (float)sqrt(r*r - ty*ty);
+    xr = (float)SDL_sqrt(r*r - ty*ty);
     if(r > 0) { /* r > 0 ==> filled circle */
       for(tx=-xr+.5f;tx<=xr-.5;tx++) {
     setpix(screen,x+tx,y+ty,c);