aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/egl/EGLDummyUpstreamSurfaceHook.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-31 13:59:25 +0100
committerSven Gothel <[email protected]>2013-10-31 13:59:25 +0100
commitb0fa7977b154284334285daa642e114d7c9fca46 (patch)
treece315690f2ca3d8adda2b57bc68b41b3c1f122c8 /src/jogl/classes/jogamp/opengl/egl/EGLDummyUpstreamSurfaceHook.java
parentbde835213c584393d4be4ec7da62e7efd49430b7 (diff)
EGLDrawableFactory.createDummySurfaceImpl: fix caps to pbuffer - since we do use EGLDummyUpstreamSurfaceHook .. a pbuffer offscreen
fixOffscreenBitOnly(..) may yield FBO queries / chosing .. usually doesn't matter (on devices here), but not accurate.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/egl/EGLDummyUpstreamSurfaceHook.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/egl/EGLDummyUpstreamSurfaceHook.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLDummyUpstreamSurfaceHook.java b/src/jogl/classes/jogamp/opengl/egl/EGLDummyUpstreamSurfaceHook.java
index eb6578ec5..818f32607 100644
--- a/src/jogl/classes/jogamp/opengl/egl/EGLDummyUpstreamSurfaceHook.java
+++ b/src/jogl/classes/jogamp/opengl/egl/EGLDummyUpstreamSurfaceHook.java
@@ -7,6 +7,7 @@ import javax.media.nativewindow.UpstreamSurfaceHook;
import com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize;
import com.jogamp.nativewindow.egl.EGLGraphicsDevice;
+/** Uses a PBuffer offscreen surface */
public class EGLDummyUpstreamSurfaceHook extends UpstreamSurfaceHookMutableSize {
/**
* @param width the initial width as returned by {@link NativeSurface#getWidth()} via {@link UpstreamSurfaceHook#getWidth(ProxySurface)},