-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 06 March 2001 00:51, Nicolas Cadilhac wrote:
> Hi,
>
> In the previous release, I was creating a native font in windows (using
> wgl) from the opengl init method. It was working. In the current release,
> it doesn't work anymore. I have to create my font fron the display method.
> Why ?
>
os ? (windows ;-)
jdk version (>=1.3.0 sun) ?
gl4java version ? (2.6.0 ;-)
well, i guess you mean the GLCanvas.init() method !
this method is called like before, at the same time.
the only difference could be, that the
Win32 GraphicalConfiguration -> PIXELFORMATDESCRIPTOR
is now different, because of the new implementation, if using jdk >= 1.3 !
if it runs as before, using jdk 1.2.2,
you have to set the GLCapabilities correct, to fit your needs !
GLCanvas.init() ist just called _before_ the very first
GLCanvas.display() call !
The opengl context is allready made current if calling GLCanvas.init(),
so you should not call glj.gljMakeCurrent() within GLCanvas.init()
this is just a suggestion ...
> Regards
>
> Nicolas Cadilhac
kind regards, sven
btw: please leave those gif stuff on your workstation, the next time
_and_ use ascii mode only
- --
mailto:sgo...@ja...
www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/
voice : +49-521-2399440; fax: +49-521-2399442; icq-uin: 108264795
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6pE2wHdOA30NoFAARAtMlAJ0T0NXj2V+6udNPi3cVqiiHB0OqUwCcC3o6
Bk2wquuYoaK74mDPvLF9fKQ=
=JtX0
-----END PGP SIGNATURE-----
|