LWJGL
May 21, 2013, 21:39:57 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: "invalid drawable" message on OSX  (Read 3282 times)
ac
Newbie
*
Posts: 8


« on: February 23, 2012, 07:30:08 »

Hello,

I'm trying out the integration between AWT Applet and LWJGL. I followed some of the examples posted on the wiki, and managed to write my own basic applet that uses a LWJGL Display to handle OpenGL rendering. Everything works fine, with the exception of two minor quirks:

1) When I start the applet, I get a message "Make pbuffer: 300 x 300" in the console. It seems like a initialization notification. Is it possible to suppress it?

2) Also when I start the applet, and for only one time, I get an "invalid drawable" message. It seems that something went wrong when initializing the canvas or the display, however it doesn't appear to have any effect. But still makes me think that I'm doing something incorrectly in the setup.

These two messages only appear when I run the applet on Mac OSX (tested both on Snow Leopard and Lion using LWJGL 2.8.3). The code for the full application is here: http://pastebin.com/FWaiDz2v

Any feedback will be appreciated.

Thanks!
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1112



« Reply #1 on: February 23, 2012, 07:58:35 »

1) On OS X internally a pbuffer is required for applets to function. That "Make pbuffer" message is just something LWJGL throws out to inform you of how large the pbuffer is. Its harmless really, but if its really annoying then it can be commented out in the LWJGL code.

2) This is an issue with Apple's java plugin, for whatever reason it always throws that message, again seems to have no effect. Not really a LWJGL issue.
Logged
ac
Newbie
*
Posts: 8


« Reply #2 on: February 24, 2012, 16:16:47 »

Thanks for the quick and concise answer.

The pbuffer message is not a big issue at this point. If later I want remove, what is the best way to make a feature request like that? Through the sourceforge page of the project?
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1112



« Reply #3 on: February 24, 2012, 16:41:03 »

raise an RFE on this forums BUG/RFE section.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!