summaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/impl/mipmap
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/games/jogl/impl/mipmap')
-rw-r--r--src/net/java/games/jogl/impl/mipmap/Extract8888.java2
-rw-r--r--src/net/java/games/jogl/impl/mipmap/Extract8888rev.java2
-rw-r--r--src/net/java/games/jogl/impl/mipmap/Image.java16
3 files changed, 10 insertions, 10 deletions
diff --git a/src/net/java/games/jogl/impl/mipmap/Extract8888.java b/src/net/java/games/jogl/impl/mipmap/Extract8888.java
index 453d8505b..c013fae28 100644
--- a/src/net/java/games/jogl/impl/mipmap/Extract8888.java
+++ b/src/net/java/games/jogl/impl/mipmap/Extract8888.java
@@ -32,7 +32,7 @@
* compliant with the OpenGL(R) version 1.2.1 Specification.
*/
-package GLU.mipmap;
+package net.java.games.jogl.impl.mipmap;
import java.nio.*;
diff --git a/src/net/java/games/jogl/impl/mipmap/Extract8888rev.java b/src/net/java/games/jogl/impl/mipmap/Extract8888rev.java
index 53d94f6c0..9104ed7b1 100644
--- a/src/net/java/games/jogl/impl/mipmap/Extract8888rev.java
+++ b/src/net/java/games/jogl/impl/mipmap/Extract8888rev.java
@@ -32,7 +32,7 @@
* compliant with the OpenGL(R) version 1.2.1 Specification.
*/
-package GLU.mipmap;
+package net.java.games.jogl.impl.mipmap;
import java.nio.*;
diff --git a/src/net/java/games/jogl/impl/mipmap/Image.java b/src/net/java/games/jogl/impl/mipmap/Image.java
index 173603aeb..b0d54bfc0 100644
--- a/src/net/java/games/jogl/impl/mipmap/Image.java
+++ b/src/net/java/games/jogl/impl/mipmap/Image.java
@@ -130,7 +130,7 @@ public class Image {
}
myswap_bytes = psm.getUnpackSwapBytes();
- components = GLU.mipmap.Mipmap.elements_per_group( format, type );
+ components = Mipmap.elements_per_group( format, type );
if( psm.getUnpackRowLength() > 0 ) {
groups_per_line = psm.getUnpackRowLength();
} else {
@@ -184,7 +184,7 @@ public class Image {
start += rowsize;
}
} else {
- element_size = GLU.mipmap.Mipmap.bytes_per_element( type );
+ element_size = Mipmap.bytes_per_element( type );
group_size = element_size * components;
if( element_size == 1 ) {
myswap_bytes = false;
@@ -355,10 +355,10 @@ public class Image {
} // for i
// iterators should be one byte past end
- if( !GLU.mipmap.Mipmap.isTypePackedPixel( type ) ) {
+ if( !Mipmap.isTypePackedPixel( type ) ) {
assert( iter2 == ( width * height * components ) );
} else {
- assert( iter2 == ( width * height * GLU.mipmap.Mipmap.elements_per_group( format, 0 ) ) );
+ assert( iter2 == ( width * height * Mipmap.elements_per_group( format, 0 ) ) );
}
assert( iter == ( rowsize * height + psm.getUnpackSkipRows() * rowsize + psm.getUnpackSkipPixels() * group_size ) );
}
@@ -428,7 +428,7 @@ public class Image {
}
myswap_bytes = psm.getPackSwapBytes();
- components = GLU.mipmap.Mipmap.elements_per_group( format, type );
+ components = Mipmap.elements_per_group( format, type );
if( psm.getPackRowLength() > 0 ) {
groups_per_line = psm.getPackRowLength();
} else {
@@ -490,7 +490,7 @@ public class Image {
} else {
float shoveComponents[] = new float[4];
- element_size = GLU.mipmap.Mipmap.bytes_per_element( type );
+ element_size = Mipmap.bytes_per_element( type );
group_size = element_size * components;
if( element_size == 1 ) {
myswap_bytes = false;
@@ -780,10 +780,10 @@ public class Image {
iter = start;
} // for i
// iterators should be one byte past end
- if( !GLU.mipmap.Mipmap.isTypePackedPixel( type ) ) {
+ if( !Mipmap.isTypePackedPixel( type ) ) {
assert( iter2 == width * height * components );
} else {
- assert( iter2 == width * height * GLU.mipmap.Mipmap.elements_per_group( format, 0 ) );
+ assert( iter2 == width * height * Mipmap.elements_per_group( format, 0 ) );
}
assert( iter == rowsize * height + psm.getPackSkipRows() * rowsize + psm.getPackSkipPixels() * group_size );
}