diff options
author | Sven Gothel <[email protected]> | 2023-03-09 05:31:04 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-09 05:31:04 +0100 |
commit | 4cc2787766d1d692c668d0cabd9f4619de396f72 (patch) | |
tree | 416e827adb382850325f5c9cb05a6448a9341b01 /src/jogl/classes/com/jogamp | |
parent | 0571fafebee846b77de5740d23fc141810897f84 (diff) |
Misc: Add MonitorDevice.perMMToPerInch(..); Drop unused RegionRenderer.init(..) renderModes argument
Diffstat (limited to 'src/jogl/classes/com/jogamp')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java b/src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java index 1014553d3..6f419704b 100644 --- a/src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java +++ b/src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java @@ -136,7 +136,7 @@ public class RegionRenderer { * </p> * @param rs the used {@link RenderState} * @param enableCallback optional {@link GLCallback}, if not <code>null</code> will be issued at - * {@link #init(GL2ES2, int) init(gl)} and {@link #enable(GL2ES2, boolean) enable(gl, true)}. + * {@link #init(GL2ES2) init(gl)} and {@link #enable(GL2ES2, boolean) enable(gl, true)}. * @param disableCallback optional {@link GLCallback}, if not <code>null</code> will be issued at * {@link #enable(GL2ES2, boolean) enable(gl, false)}. * @return an instance of Region Renderer @@ -194,10 +194,9 @@ public class RegionRenderer { * <p>Shall be called by a {@code draw()} method, e.g. {@link RegionRenderer#draw(GL2ES2, Region, int)}</p> * * @param gl referencing the current GLContext to which the ShaderState is bound to - * @param renderModes * @throws GLException if initialization failed */ - public final void init(final GL2ES2 gl, final int renderModes) throws GLException { + public final void init(final GL2ES2 gl) throws GLException { if(initialized){ return; } |