mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-08 21:24:34 +00:00
TORQUE_TESTS_ENABLED check no longer required
This commit is contained in:
parent
ffc001bb97
commit
d35de7afc0
4 changed files with 2 additions and 13 deletions
|
|
@ -258,10 +258,6 @@ DXGI_SWAP_CHAIN_DESC GFXD3D11Device::setupPresentParams(const GFXVideoMode &mode
|
|||
|
||||
void GFXD3D11Device::enumerateAdapters(Vector<GFXAdapter*> &adapterList)
|
||||
{
|
||||
#ifdef TORQUE_TESTS_ENABLED
|
||||
return;
|
||||
#endif
|
||||
|
||||
IDXGIAdapter1* EnumAdapter;
|
||||
IDXGIFactory1* DXGIFactory;
|
||||
|
||||
|
|
|
|||
|
|
@ -77,10 +77,6 @@ void EnumerateVideoModes(Vector<GFXVideoMode>& outModes)
|
|||
|
||||
void GFXGLDevice::enumerateAdapters( Vector<GFXAdapter*> &adapterList )
|
||||
{
|
||||
#ifdef TORQUE_TESTS_ENABLED
|
||||
return;
|
||||
#endif
|
||||
|
||||
AssertFatal( SDL_WasInit(SDL_INIT_VIDEO), "");
|
||||
|
||||
PlatformGL::init(); // for hints about context creation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue