aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/opengl')
-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 );