From 8004a3383325a7c66a4191fcee0dd78fa5400c15 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Thu, 19 Apr 2007 06:40:20 +0000 Subject: Fixed several more places in code with same error as in Issue 292 git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1203 232f8b59-042b-4e1e-8c03-345bb8c30851 --- .../com/sun/opengl/impl/mipmap/ScaleInternal.java | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/classes/com/sun/opengl/impl/mipmap/ScaleInternal.java b/src/classes/com/sun/opengl/impl/mipmap/ScaleInternal.java index 8154df353..90d407c36 100644 --- a/src/classes/com/sun/opengl/impl/mipmap/ScaleInternal.java +++ b/src/classes/com/sun/opengl/impl/mipmap/ScaleInternal.java @@ -392,8 +392,8 @@ public class ScaleInternal { element_size, ysize, group_size ); return; } - convx = (float)heightin / heightout; - convy = (float)widthin / widthout; + convy = (float)heightin / heightout; + convx = (float)widthin / widthout; convy_int = (int)Math.floor( convy ); convy_float = convy - convy_int; convx_int = (int)Math.floor( convx ); @@ -610,8 +610,8 @@ public class ScaleInternal { element_size, ysize, group_size, myswap_bytes ); return; } - convx = (float)heightin / heightout; - convy = (float)widthin / widthout; + convy = (float)heightin / heightout; + convx = (float)widthin / widthout; convy_int = (int)Math.floor( convy ); convy_float = convy - convy_int; convx_int = (int)Math.floor( convx ); @@ -893,8 +893,8 @@ public class ScaleInternal { element_size, ysize, group_size, myswap_bytes ); return; } - convx = (float)heightin / heightout; - convy = (float)widthin / widthout; + convy = (float)heightin / heightout; + convx = (float)widthin / widthout; convy_int = (int)Math.floor( convy ); convy_float = convy - convy_int; convx_int = (int)Math.floor( convx ); @@ -1188,8 +1188,8 @@ public class ScaleInternal { element_size, ysize, group_size, myswap_bytes ); return; } - convx = (float)heightin / heightout; - convy = (float)widthin / widthout; + convy = (float)heightin / heightout; + convx = (float)widthin / widthout; convy_int = (int)Math.floor( convy ); convy_float = convy - convy_int; convx_int = (int)Math.floor( convx ); @@ -1478,8 +1478,8 @@ public class ScaleInternal { element_size, ysize, group_size, myswap_bytes ); return; } - convx = (float)heightin / heightout; - convy = (float)widthin / widthout; + convy = (float)heightin / heightout; + convx = (float)widthin / widthout; convy_int = (int)Math.floor( convy ); convy_float = convy - convy_int; convx_int = (int)Math.floor( convx ); @@ -1775,8 +1775,8 @@ public class ScaleInternal { element_size, ysize, group_size, myswap_bytes ); return; } - convx = (float)heightin / heightout; - convy = (float)widthin / widthout; + convy = (float)heightin / heightout; + convx = (float)widthin / widthout; convy_int = (int)Math.floor( convy ); convy_float = convy - convy_int; convx_int = (int)Math.floor( convx ); -- cgit v1.2.3