From 207fa2246ec5b05d3292eb22b69b5eab42f35254 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Wed, 11 Jan 2006 08:18:13 +0000 Subject: Fixed Issue 133: GLEventListener.init() can be missed Added caveat in documentation about adding GLEventListener before GLAutoDrawable is shown. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@534 232f8b59-042b-4e1e-8c03-345bb8c30851 --- doc/userguide/index.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/userguide/index.html b/doc/userguide/index.html index 87d423bde..2965593f2 100644 --- a/doc/userguide/index.html +++ b/doc/userguide/index.html @@ -342,6 +342,17 @@ be skipped when the init() callback is called.

+Note also that the GLEventListener should be added to the +GLAutoDrawable before the GLAutoDrawable is shown or rendered to for +the first time. If this is not done, it is possible that the init() +method will not be called on the GLEventListener. JOGL does not +maintain internal state to keep track of whether init() has been +called on a particular GLEventListener since the last time an OpenGL +context was created for that GLAutoDrawable. + +

+

+ The display() method is called to perform per-frame rendering. The reshape() method is called when the drawable has been resized; the default implementation automatically -- cgit v1.2.3