Description:
Relegate local variables to debug builds.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -481,9 +481,11 | |||||
|
481 | Stopwatch stopWatch = new Stopwatch(); |
|
481 | Stopwatch stopWatch = new Stopwatch(); |
|
482 | stopWatch.Start(); |
|
482 | stopWatch.Start(); |
|
483 |
|
483 | ||
|
|
484 | #if DEBUG | ||
|
484 | float volume = 1.0f; |
|
485 | float volume = 1.0f; |
|
485 | float pitch = 0.0f; |
|
486 | float pitch = 0.0f; |
|
486 | float pan = 0.0f; |
|
487 | float pan = 0.0f; |
|
|
488 | #endif | ||
|
487 |
|
489 | ||
|
488 | KeyboardState keyboardCur = Keyboard.GetState(); |
|
490 | KeyboardState keyboardCur = Keyboard.GetState(); |
|
489 | MouseState mouseCur = Mouse.GetState(); |
|
491 | MouseState mouseCur = Mouse.GetState(); |
You need to be logged in to leave comments.
Login now