trying to get smooth change to work

This commit is contained in:
codeanticode
2015-01-23 17:08:00 -05:00
parent 29caac10fa
commit 4922e90dd0
3 changed files with 132 additions and 37 deletions

View File

@@ -66,9 +66,9 @@ public abstract class PGL {
// Parameters
protected static boolean USE_FBOLAYER_BY_DEFAULT = false;
protected static int REQUESTED_DEPTH_BITS = 24;
protected static int REQUESTED_STENCIL_BITS = 8;
protected static int REQUESTED_ALPHA_BITS = 8;
public static int REQUESTED_DEPTH_BITS = 24;
public static int REQUESTED_STENCIL_BITS = 8;
public static int REQUESTED_ALPHA_BITS = 8;
/** Switches between the use of regular and direct buffers. */
protected static boolean USE_DIRECT_BUFFERS = true;
@@ -139,7 +139,7 @@ public abstract class PGL {
protected boolean fboLayerCreated = false;
protected boolean fboLayerInUse = false;
protected boolean firstFrame = true;
protected int reqNumSamples;
public int reqNumSamples;
protected int numSamples;
protected IntBuffer glColorFbo;
protected IntBuffer glMultiFbo;