[Plib-users] Grrr.... I only get a black screen
Brought to you by:
sjbaker
From: Peter P. <pet...@st...> - 2004-08-26 09:09:00
|
I have been playing around with wxWindow and ssg and I simply cannot get it working properly. My program can be found here: http://rafb.net/paste/results/TcxCwP78.html It shows to windows. One is drawn using ssg and _should_ show a white rectangle, but only shows a black screen. The other window is drawn using direct opengl calls, and shows (and should show) a spinning red rectangle. It can be compiled with this command: g++ wxssg.cc -o wxssg `wx-config --cxxflags --libs --gl-libs` -lplibssg -lplibul -lplibsg Can anybody explain to me why only the red rectangle works? PS. considering that it works with direct opengl calls, I don't think the problem is in wxWindow. -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? |