]> git.mxchange.org Git - simgear.git/commitdiff
Don't use floats where ints are more appropriate
authorehofman <ehofman>
Fri, 11 Jul 2003 10:55:17 +0000 (10:55 +0000)
committerehofman <ehofman>
Fri, 11 Jul 2003 10:55:17 +0000 (10:55 +0000)
simgear/screen/texture.cxx

index e3dd69badfe3f4af10706a2dad26d4b33277fa88..1e2d2cc01691067dd8347e35350f0cb736cc6680 100644 (file)
@@ -351,7 +351,7 @@ SGTexture::get_pixel(GLuint x, GLuint y)
 {
     static sgVec3 c;
 
-    sgSetVec3(c, 0.0, 0.0, 0.0);
+    sgSetVec3(c, 0, 0, 0);
     if (!texture_data)
         return;