From: Kenneth B. R. <kbr...@al...> - 2001-11-13 15:40:16
|
> The application I'm programming requires that I set up some display > lists in OpenGL before I actually paint a single picture (in fact, > before the GLCanvas comes onscreen). Because GL4Java creates it's > context immediately prior to sending it's first display() event, this > method of setting up display lists before the first draw doesn't work... Create the display lists in your init() method, preferably by installing a GLEventListener into the GLCanvas and implementing init() in it, but alternatively by subclassing GLCanvas and overriding init(). |