From: Artiste on t. W. <a1...@So...> - 2000-08-30 07:17:16
|
Virgil Wall wrote: > > In addition, after switching to version 2.4.1.0, I see these error messages > printed out when my app runs: > GL ERROR : invalid operation > GL ERROR : 1282 == 0x502 > > I don't see these when using version 2.3.1.1. > > Any idea what they mean? > > Thanks, > Virgil Wall I am making a game too (http://perso.club-internet.fr/b_lamy). I think the click calls a repaint (through AWT refrshing event - not mouse listener), in a different thread that your game's one (the AWT event thread). If your game calls a rendering at the same time, there may be a synchronization problem, leading to openGL error and bad rendering (the flash). This is just an idea, but i think you should disable AWT rendering in your game's canvas, if your game is rendering 3D permanently, by adding : public void update(Graphics g) { } public void repaint( ) { } public void repaint(long l) { } public void render() { sDisplay(); } in your canvas's class. To draw the 3D, you'll use the new render() method. A11W |