]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/penguin/lw.cpp
show the resize cursor when the mouse is above the grip and not only when it's just...
[wxWidgets.git] / samples / opengl / penguin / lw.cpp
index aaa1d889c2bbf453d5404e70364d1dc99bfa245a..487359bbba208bf5da91161e98deb3b6d29f7ebd 100644 (file)
@@ -128,9 +128,9 @@ static void read_srfs(FILE *f, int nbytes, lwObject *lwo)
     nbytes -= read_string(f,material->name);
 
     /* defaults */
-    material->r = 0.7;
-    material->g = 0.7;
-    material->b = 0.7;
+    material->r = 0.7f;
+    material->g = 0.7f;
+    material->b = 0.7f;
   }
   lwo->material = (lwMaterial*) realloc(lwo->material, sizeof(lwMaterial)*lwo->material_cnt);
 }