aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/egl/EGLWrappedSurface.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/egl/EGLWrappedSurface.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/egl/EGLWrappedSurface.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLWrappedSurface.java b/src/jogl/classes/jogamp/opengl/egl/EGLWrappedSurface.java
index 4a5113b51..89024eed3 100644
--- a/src/jogl/classes/jogamp/opengl/egl/EGLWrappedSurface.java
+++ b/src/jogl/classes/jogamp/opengl/egl/EGLWrappedSurface.java
@@ -13,14 +13,14 @@ import jogamp.nativewindow.WrappedSurface;
*/
public class EGLWrappedSurface extends WrappedSurface {
- public static EGLWrappedSurface get(NativeSurface surface) {
+ public static EGLWrappedSurface get(final NativeSurface surface) {
if(surface instanceof EGLWrappedSurface) {
return (EGLWrappedSurface)surface;
}
return new EGLWrappedSurface(surface);
}
- public EGLWrappedSurface(NativeSurface surface) {
+ public EGLWrappedSurface(final NativeSurface surface) {
super(surface.getGraphicsConfiguration(), EGL.EGL_NO_SURFACE, new EGLUpstreamSurfaceHook(surface), false /* tbd in UpstreamSurfaceHook */);
if(EGLDrawableFactory.DEBUG) {
System.err.println("EGLWrappedSurface.ctor(): "+this);