diff options
author | Sven Gothel <[email protected]> | 2015-07-30 03:07:07 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-07-30 03:07:07 +0200 |
commit | 1a8b5c63c2f5328724a84ced2fa16a04ee6e8ac5 (patch) | |
tree | 05aaca0c36a1ce4ff241c3382629bcc94f621064 /src/nativewindow/classes/com | |
parent | 3f13a60ca428ed879ad2ac551f7bd808b9ba44a9 (diff) |
Use GlueGen's Bitfield instead of IntBitfield
Diffstat (limited to 'src/nativewindow/classes/com')
-rw-r--r-- | src/nativewindow/classes/com/jogamp/nativewindow/util/PixelFormat.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/util/PixelFormat.java b/src/nativewindow/classes/com/jogamp/nativewindow/util/PixelFormat.java index 748e14f0d..609699a6f 100644 --- a/src/nativewindow/classes/com/jogamp/nativewindow/util/PixelFormat.java +++ b/src/nativewindow/classes/com/jogamp/nativewindow/util/PixelFormat.java @@ -30,7 +30,7 @@ package com.jogamp.nativewindow.util; import java.util.Arrays; -import com.jogamp.common.util.IntBitfield; +import com.jogamp.common.util.Bitfield; /** * Basic pixel formats @@ -575,7 +575,7 @@ public enum PixelFormat { boolean uniform = true; for(int i = componentMask.length-1; i>=0; i--) { final int cmask = componentMask[i]; - final int bitCount = IntBitfield.getBitCount(cmask); + final int bitCount = Bitfield.Util.getBitCount(cmask); bpp += bitCount; this.compBitCount[i] = bitCount; if( i > 0 && uniform ) { |