mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Removes Direct3D9 functionality.
This commit is contained in:
parent
5ac6f6beb3
commit
edd1e0a270
86 changed files with 382 additions and 10445 deletions
|
|
@ -47,7 +47,7 @@ $sceneLighting::cacheSize = 20000;
|
|||
$sceneLighting::purgeMethod = "lastCreated";
|
||||
$sceneLighting::cacheLighting = 1;
|
||||
|
||||
$pref::Video::displayDevice = "D3D9";
|
||||
$pref::Video::displayDevice = "D3D11";
|
||||
$pref::Video::disableVerticalSync = 1;
|
||||
$pref::Video::mode = "1024 768 false 32 60 4";
|
||||
$pref::Video::defaultFenceCount = 0;
|
||||
|
|
|
|||
|
|
@ -46,16 +46,7 @@ exec( "./shadowViz.gui" );
|
|||
exec( "./deferredShading.cs" );
|
||||
|
||||
function onActivateAdvancedLM()
|
||||
{
|
||||
// Don't allow the offscreen target on OSX.
|
||||
if ( $platform $= "macos" )
|
||||
return;
|
||||
|
||||
// On the Xbox360 we know what will be enabled so don't do any trickery to
|
||||
// disable MSAA
|
||||
if ( $platform $= "xenon" )
|
||||
return;
|
||||
|
||||
{
|
||||
// Enable the offscreen target so that AL will work
|
||||
// with MSAA back buffers and for HDR rendering.
|
||||
AL_FormatToken.enable();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue