From 1a8b5c63c2f5328724a84ced2fa16a04ee6e8ac5 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 30 Jul 2015 03:07:07 +0200 Subject: Use GlueGen's Bitfield instead of IntBitfield --- .../classes/com/jogamp/nativewindow/util/PixelFormat.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 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 ) { -- cgit v1.2.3