summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/glu/mipmap
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/glu/mipmap')
-rw-r--r--src/jogl/classes/jogamp/opengl/glu/mipmap/HalveImage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/jogamp/opengl/glu/mipmap/HalveImage.java b/src/jogl/classes/jogamp/opengl/glu/mipmap/HalveImage.java
index 100c6ba1f..95ce86a5b 100644
--- a/src/jogl/classes/jogamp/opengl/glu/mipmap/HalveImage.java
+++ b/src/jogl/classes/jogamp/opengl/glu/mipmap/HalveImage.java
@@ -1140,10 +1140,10 @@ public class HalveImage {
final int imageSizeInBytes, final boolean isSwap ) {
int ii, jj;
final int halfWidth = width / 2;
- final int halfHeight = height / 2;
+ // final int halfHeight = height / 2;
final int halfDepth = depth / 2;
int src = 0;
- final int padBytes = rowSizeInBytes - ( width * pixelSizeInBytes );
+ // final int padBytes = rowSizeInBytes - ( width * pixelSizeInBytes );
int outIndex = 0;
assert( (width == 1 || height == 1) && depth >= 2 );