瀏覽代碼

* Removes Direct3D9 functionality.

Areloch 8 年之前
父節點
當前提交
296ab5b532
共有 2 個文件被更改,包括 1 次插入10 次删除
  1. 0 9
      Templates/BaseGame/game/core/lighting/advanced/init.cs
  2. 1 1
      Templates/BaseGame/game/data/defaults.cs

+ 0 - 9
Templates/BaseGame/game/core/lighting/advanced/init.cs

@@ -44,15 +44,6 @@ 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();

+ 1 - 1
Templates/BaseGame/game/data/defaults.cs

@@ -25,7 +25,7 @@ $sceneLighting::cacheSize = 20000;
 $sceneLighting::purgeMethod = "lastCreated";
 $sceneLighting::cacheLighting = 1;
 
-$pref::Video::displayDevice = "D3D9";
+$pref::Video::displayDevice = "D3D11";
 $pref::Video::disableVerticalSync = 1;
 $pref::Video::Resolution = "1024 768";
 $pref::Video::FullScreen = false;