From e26c9ed7e965d526830ec0112eb2f58832ebca16 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 4 Mar 2023 20:41:49 +0100 Subject: GLDrawableFactory: Fix typos and mention 'surfaceless' in createDummyDrawable(..) --- src/jogl/classes/com/jogamp/opengl/GLDrawableFactory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/jogl/classes/com/jogamp/opengl/GLDrawableFactory.java') diff --git a/src/jogl/classes/com/jogamp/opengl/GLDrawableFactory.java b/src/jogl/classes/com/jogamp/opengl/GLDrawableFactory.java index 113c28775..4644163d9 100644 --- a/src/jogl/classes/com/jogamp/opengl/GLDrawableFactory.java +++ b/src/jogl/classes/com/jogamp/opengl/GLDrawableFactory.java @@ -587,7 +587,7 @@ public abstract class GLDrawableFactory { /** * Creates a {@link GLDrawable#isRealized() realized} {@link GLOffscreenAutoDrawable} - * incl it's offscreen {@link NativeSurface} with the given capabilites and dimensions. + * incl it's offscreen {@link NativeSurface} with the given capabilities and dimensions. *

* The {@link GLOffscreenAutoDrawable}'s {@link GLDrawable} is {@link GLDrawable#isRealized() realized} * without an assigned {@link GLContext}, hence not initialized completely.
@@ -666,7 +666,7 @@ public abstract class GLDrawableFactory { /** * Creates an {@link GLDrawable#isRealized() unrealized} offscreen {@link GLDrawable} - * incl it's offscreen {@link NativeSurface} with the given capabilites and dimensions. + * incl it's offscreen {@link NativeSurface} with the given capabilities and dimensions. *

* In case the passed {@link GLCapabilitiesImmutable} contains default values, i.e. * {@link GLCapabilitiesImmutable#isOnscreen() caps.isOnscreen()} == true, @@ -708,7 +708,7 @@ public abstract class GLDrawableFactory { /** * Creates an {@link GLDrawable#isRealized() unrealized} dummy {@link GLDrawable}. - * A dummy drawable is not visible on screen and will not be used to render directly to, it maybe on- or offscreen. + * A dummy drawable is not visible on screen and will not be used to render directly to, it maybe on- or offscreen and implementation prefers creating a surfaceless drawable. *

* It is used to allow the creation of a {@link GLContext} to query information. * It also allows creation of framebuffer objects which are used for rendering or creating a shared GLContext w/o actually rendering to this dummy drawable's framebuffer. -- cgit v1.2.3