From: Sven G. <sgo...@ja...> - 2001-02-08 06:08:10
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 28 January 2001 06:42, you wrote: > What is the purpose/role of the Component object in AWTTextureLoader's > constructor? > > public AWTTextureLoader(java.awt.Component comp, GLFunc gl, GLUFunc glu) > > When attempting to use it I'm getting the following error: > GLUT: Warning in (unamed): GL error: invalid value > > Thanks for your time, > -brian Well, just to use the AWT's feature of loading 2D-Images. We need a java.awt.Component ! The error .. well, I do not know. Look at the demo's GL4Java/MiscDemos/GLImageViewerCanvas.java ! sven - -- mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440, +49-170-2115963; fax: +49-521-2399442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6gjepHdOA30NoFAARArtDAJ9zgeNyKLlO++YDjp0CXDd54ZQWGwCfVOHE zI85xstAk+60XRptAF7Jk90= =B4oO -----END PGP SIGNATURE----- |