removes leftover of performance build
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <ScriptCanvas/Core/Core.h>
|
||||
|
||||
#if defined(PERFORMANCE_BUILD) || !defined(_RELEASE)
|
||||
#if !defined(_RELEASE)
|
||||
// the markers are defined in test, but the system that listens for calls won't always be enabled
|
||||
#define SCRIPT_CANVAS_PERFORMANCE_TRACKING_ENABLED
|
||||
#endif
|
||||
|
||||
+2
-7
@@ -465,12 +465,7 @@ namespace ScriptCanvas
|
||||
lua_register(lua, k_UnpackDependencyConstructionArgsFunctionName, &UnpackDependencyConstructionArgs);
|
||||
lua_register(lua, k_UnpackDependencyConstructionArgsLeafFunctionName, &UnpackDependencyConstructionArgsLeaf);
|
||||
|
||||
#if defined(PERFORMANCE_BUILD)
|
||||
lua_pushboolean(lua, true);
|
||||
lua_setglobal(lua, k_InterpretedConfigurationPerformance);
|
||||
lua_pushboolean(lua, false);
|
||||
lua_setglobal(lua, k_InterpretedConfigurationRelease);
|
||||
#elif defined(_RELEASE)
|
||||
#if defined(_RELEASE)
|
||||
lua_pushboolean(lua, false);
|
||||
lua_setglobal(lua, k_InterpretedConfigurationPerformance);
|
||||
lua_pushboolean(lua, true);
|
||||
@@ -481,7 +476,7 @@ namespace ScriptCanvas
|
||||
lua_setglobal(lua, k_InterpretedConfigurationPerformance);
|
||||
lua_pushboolean(lua, false);
|
||||
lua_setglobal(lua, k_InterpretedConfigurationRelease);
|
||||
#endif//defined(PERFORMANCE_BUILD)
|
||||
#endif
|
||||
|
||||
lua_register(lua, k_GetRandomSwitchControlNumberName, &GetRandomSwitchControlNumber);
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <ScriptCanvas/Execution/ExecutionContext.h>
|
||||
#include <ScriptCanvas/Execution/ExecutionState.h>
|
||||
|
||||
#if !defined(_RELEASE) && !defined(PERFORMANCE_BUILD)
|
||||
#if !defined(_RELEASE)
|
||||
#define SCRIPT_CANVAS_RUNTIME_ASSET_CHECK
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user