Black background with window size render
by Interface · in Torque Game Engine · 11/07/2007 (9:30 pm) · 0 replies
I got the 1.5.2 release compiled on Ubuntu Feisty. I'm running beryl on a twinview nvidia system.
When i run the standard example scripts in windowed mode, all is good.
When i run my own scripts (i have a ground-up scripts base), which has its settings for a 800x600 window, the two screens go black, and the torque window appears in the center (half/half over the two screens). It works fine, it's just like it's running full screen but the viewport is only 800x600 and appears in the middle of my two screens.
I don't see how creating the canvas etc differs from the standard scripts. I have quadruple checked that all the prefs (and especially those relating to video) from the example scripts appear in my prefs file. Nothing missing that i can find.
The strange thing is, my scripts have been running fine on native windows, or running the windows binary in Wine.
Again, all the prefs have completely been moved into my scripts, so there should be no problem there. Could there be some kind of missing call when it creates the canvas? And why does it work with the windows binary both on windows and linux with wine?
Any suggestions welcome.
When i run the standard example scripts in windowed mode, all is good.
When i run my own scripts (i have a ground-up scripts base), which has its settings for a 800x600 window, the two screens go black, and the torque window appears in the center (half/half over the two screens). It works fine, it's just like it's running full screen but the viewport is only 800x600 and appears in the middle of my two screens.
I don't see how creating the canvas etc differs from the standard scripts. I have quadruple checked that all the prefs (and especially those relating to video) from the example scripts appear in my prefs file. Nothing missing that i can find.
The strange thing is, my scripts have been running fine on native windows, or running the windows binary in Wine.
Again, all the prefs have completely been moved into my scripts, so there should be no problem there. Could there be some kind of missing call when it creates the canvas? And why does it work with the windows binary both on windows and linux with wine?
Any suggestions welcome.
About the author