aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/mipmap
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2007-04-19 06:40:20 +0000
committerKenneth Russel <[email protected]>2007-04-19 06:40:20 +0000
commit8004a3383325a7c66a4191fcee0dd78fa5400c15 (patch)
tree947d0517ecff80c7ce3c7effc75c80cdf886a72f /src/classes/com/sun/opengl/impl/mipmap
parent214aaf0bbe92d38a47611b4d72329373f91a89f3 (diff)
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
Diffstat (limited to 'src/classes/com/sun/opengl/impl/mipmap')
-rw-r--r--src/classes/com/sun/opengl/impl/mipmap/ScaleInternal.java24
1 files 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 );