aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-08-02 01:17:04 +0200
committerSven Gothel <[email protected]>2015-08-02 01:17:04 +0200
commit87f29ea276d70171bbf227c0800991349ccf4873 (patch)
tree33f889c2156cbbc7db7d749e67c51a5f330cde29 /src/nativewindow/classes/com
parent1a8b5c63c2f5328724a84ced2fa16a04ee6e8ac5 (diff)
Adapt to GlueGen's Bitfield Changes (commit 047e9adaf2a5f51f7acfa194a744c99b6bfadaea)
Diffstat (limited to 'src/nativewindow/classes/com')
-rw-r--r--src/nativewindow/classes/com/jogamp/nativewindow/util/PixelFormat.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/util/PixelFormat.java b/src/nativewindow/classes/com/jogamp/nativewindow/util/PixelFormat.java
index 609699a6f..6824867e3 100644
--- a/src/nativewindow/classes/com/jogamp/nativewindow/util/PixelFormat.java
+++ b/src/nativewindow/classes/com/jogamp/nativewindow/util/PixelFormat.java
@@ -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 = Bitfield.Util.getBitCount(cmask);
+ final int bitCount = Bitfield.Util.bitCount(cmask);
bpp += bitCount;
this.compBitCount[i] = bitCount;
if( i > 0 && uniform ) {