put the gl usage in PGL

This commit is contained in:
codeanticode
2021-08-07 05:57:18 -04:00
parent b5d35b9f66
commit bfb33e65ce
3 changed files with 99 additions and 98 deletions

View File

@@ -139,6 +139,15 @@ public abstract class PGL {
// ........................................................
// These variables are left public so advanced users can experiment with different
// usage modes controlling the buffer data store:
// https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glBufferData.xhtml
static public int glUsageRetained;
static public int glUsageImmediate;
// ........................................................
// Variables to handle single-buffered situations (i.e.: Android)
protected IntBuffer firstFrame;