From 87f29ea276d70171bbf227c0800991349ccf4873 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 2 Aug 2015 01:17:04 +0200 Subject: Adapt to GlueGen's Bitfield Changes (commit 047e9adaf2a5f51f7acfa194a744c99b6bfadaea) --- src/nativewindow/classes/com/jogamp/nativewindow/util/PixelFormat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nativewindow/classes/com/jogamp') 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 ) { -- cgit v1.2.3