diff options
author | Sven Gothel <[email protected]> | 2013-04-27 01:45:14 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-04-27 01:45:14 +0200 |
commit | 29e5caf61c1e09d2b225f4d42f5a384dd6eef9a8 (patch) | |
tree | 1a36b7444b1cb29d5829beab095d3a3ed1ce6390 /src/jogl/classes/javax/media | |
parent | 94ea306d1809290db678d3181619bdc39d4334bb (diff) |
Complete commit e7064ece049705e013d80985eae698ce0ee3c4e3: Add getDefaultPixelDataFormat(), complementing getDefaultPixelDataType()
Diffstat (limited to 'src/jogl/classes/javax/media')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLContext.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLContext.java b/src/jogl/classes/javax/media/opengl/GLContext.java index 288329310..95342d455 100644 --- a/src/jogl/classes/javax/media/opengl/GLContext.java +++ b/src/jogl/classes/javax/media/opengl/GLContext.java @@ -1040,6 +1040,9 @@ public abstract class GLContext { /** Get the default pixel data type, as required by e.g. {@link GL#glReadPixels(int, int, int, int, int, int, java.nio.Buffer)}. */ public abstract int getDefaultPixelDataType(); + /** Get the default pixel data format, as required by e.g. {@link GL#glReadPixels(int, int, int, int, int, int, java.nio.Buffer)}. */ + public abstract int getDefaultPixelDataFormat(); + /** * @return The extension implementing the GLDebugOutput feature, * either <i>GL_ARB_debug_output</i> or <i>GL_AMD_debug_output</i>. |