Преглед изворни кода

Fix typo in section related to device debug flag

Robin Hübner пре 6 година
родитељ
комит
28c507aea5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      en/manual/troubleshooting/profiling.md

+ 1 - 1
en/manual/troubleshooting/profiling.md

@@ -187,7 +187,7 @@ RenderDoc is a free MIT licensed stand-alone graphics debugger that allows quick
 2. Optional: in your executable project (Windows), locate `game.Run();` and insert the following code just before:
 2. Optional: in your executable project (Windows), locate `game.Run();` and insert the following code just before:
 
 
    ```cs
    ```cs
-   game.GraphicsDeviceManager.Preferred.DeviceCreationFlags |= DeviceCreationFlags.Debug;
+   game.GraphicsDeviceManager.DeviceCreationFlags |= DeviceCreationFlags.Debug;
    ```
    ```
 
 
    This will enable render pass markers during rendering.
    This will enable render pass markers during rendering.