summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/windows/wgl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-11-09 17:19:36 +0100
committerSven Gothel <[email protected]>2011-11-09 17:19:36 +0100
commited33158d3330dfe2287af5bfaf5aea99f199887c (patch)
treefbc7c33d32b97bfeb3f616a515dea704ac88f9cc /src/jogl/classes/jogamp/opengl/windows/wgl
parentf48713f52733b476d8d59e4a9a9e3f64afeba6a5 (diff)
Cleanup offscreen/pbuffer drawables - minor edits
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/windows/wgl')
-rw-r--r--src/jogl/classes/jogamp/opengl/windows/wgl/WindowsPbufferWGLDrawable.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsPbufferWGLDrawable.java b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsPbufferWGLDrawable.java
index e34301328..7181a5d3c 100644
--- a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsPbufferWGLDrawable.java
+++ b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsPbufferWGLDrawable.java
@@ -65,15 +65,7 @@ public class WindowsPbufferWGLDrawable extends WindowsWGLDrawable {
protected WindowsPbufferWGLDrawable(GLDrawableFactory factory, NativeSurface target) {
super(factory, target, false);
- if (DEBUG) {
- System.out.println("Pbuffer config: " + getNativeSurface().getGraphicsConfiguration().getNativeGraphicsConfiguration());
- }
-
setRealized(true);
-
- if (DEBUG) {
- System.err.println("Created pbuffer " + this);
- }
}
protected void destroyImpl() {
@@ -130,6 +122,10 @@ public class WindowsPbufferWGLDrawable extends WindowsWGLDrawable {
long parentHdc = sharedResource.getDrawable().getNativeSurface().getSurfaceHandle();
WGLExt wglExt = sharedResource.getContext().getWGLExt();
+ if (DEBUG) {
+ System.out.println("Pbuffer config: " + config);
+ }
+
int[] iattributes = new int [2*WindowsWGLGraphicsConfiguration.MAX_ATTRIBS];
float[] fattributes = new float[1];
int[] floatModeTmp = new int[1];