aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/com
diff options
context:
space:
mode:
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 ) {