From 4cc2787766d1d692c668d0cabd9f4619de396f72 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 9 Mar 2023 05:31:04 +0100 Subject: Misc: Add MonitorDevice.perMMToPerInch(..); Drop unused RegionRenderer.init(..) renderModes argument --- src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/jogl/classes/com/jogamp') 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 { *

* @param rs the used {@link RenderState} * @param enableCallback optional {@link GLCallback}, if not null 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 null will be issued at * {@link #enable(GL2ES2, boolean) enable(gl, false)}. * @return an instance of Region Renderer @@ -194,10 +194,9 @@ public class RegionRenderer { *

Shall be called by a {@code draw()} method, e.g. {@link RegionRenderer#draw(GL2ES2, Region, int)}

* * @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; } -- cgit v1.2.3