GetDisplayDeviceList() error?
by Daniel Allessi · in Torque Game Engine · 01/22/2005 (9:07 pm) · 2 replies
When I call getDisplayDeviceList(), it returns only "OpenGL"... I thought it should all available display devices... so why isn't there a Direct3D option returned?
I searched the forums and came up dry. Any insight is appreciated.
Running a stock vanilla build of HEAD and trying to put together a more comprehensive Options gui.
I searched the forums and came up dry. Any insight is appreciated.
Running a stock vanilla build of HEAD and trying to put together a more comprehensive Options gui.
#2
This problem crops up when you inadvertently(sp?) have a debug EXE linking to the release DLLs for glu and opengl. :)
01/23/2005 (3:34 pm)
For anyone interested:This problem crops up when you inadvertently(sp?) have a debug EXE linking to the release DLLs for glu and opengl. :)
Torque Owner Daniel Allessi
echo(getDisplayDeviceList());
will return just "OpenGL".
Also, $Pref::Video::AllowD3D returns true. Other apps using Torque can recognize D3D ok, and I assume they use this same function to enumerate the display devices.
While I'm at it, does anybody know why you sometimes get extra space at the bottom of a GuiPopupMenuCtrl when it's opened and displaying all options. I sometimes get an extra space at the bottom of the list. Anybody can shed some light?