aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-01-11 08:18:13 +0000
committerKenneth Russel <[email protected]>2006-01-11 08:18:13 +0000
commit207fa2246ec5b05d3292eb22b69b5eab42f35254 (patch)
tree9bcc33f029b6bca1395465bfe14c3f5eb00fefe1 /doc
parentdbe38483ab1d2278940bd06aa0f8bf183201182e (diff)
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
Diffstat (limited to 'doc')
-rw-r--r--doc/userguide/index.html11
1 files changed, 11 insertions, 0 deletions
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 <CODE>init()</CODE> callback is called.
</P>
<P>
+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.
+
+</P>
+<P>
+
The <CODE>display()</CODE> method is called to perform per-frame
rendering. The <CODE>reshape()</CODE> method is called when the
drawable has been resized; the default implementation automatically