Forráskód Böngészése

Fix typo in section related to device debug flag

Robin Hübner 6 éve
szülő
commit
28c507aea5
1 módosított fájl, 1 hozzáadás és 1 törlés
  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:
 
    ```cs
-   game.GraphicsDeviceManager.Preferred.DeviceCreationFlags |= DeviceCreationFlags.Debug;
+   game.GraphicsDeviceManager.DeviceCreationFlags |= DeviceCreationFlags.Debug;
    ```
 
    This will enable render pass markers during rendering.