effect updating moved to update from render & rendering performance checker removed

This commit is contained in:
d1str4ught
2025-08-25 22:29:58 +02:00
parent 67475fde15
commit d8f6f0ea6b
2 changed files with 22 additions and 160 deletions

View File

@@ -5,7 +5,6 @@
#include <stb_image.h>
extern bool PERF_CHECKER_RENDER_GAME;
extern D3DXCOLOR g_fSpecularColor;
extern BOOL bVisibleNotice = true;
extern BOOL bTestServerFlag = FALSE;
@@ -76,10 +75,7 @@ PyObject* appEnablePerformanceTime(PyObject* poSelf, PyObject* poArgs)
if (!PyTuple_GetInteger(poArgs, 1, &nEnable))
return Py_BuildException();
bool isEnable=nEnable ? true : false;
if (strcmp(szMode, "RENDER_GAME")==0)
PERF_CHECKER_RENDER_GAME = isEnable;
// TODO: remove this function
return Py_BuildNone();
}