chore: overhaul renderer decompilation to match as closely as possible to the original

Co-authored-by: la <76826837+3UR@users.noreply.github.com>
This commit is contained in:
dxfiscool
2026-03-04 07:37:53 +10:00
committed by la
co-authored by la
parent cc6aade337
commit 39339e821e
8 changed files with 1567 additions and 1566 deletions
+10 -1
View File
@@ -27,11 +27,20 @@ SOFTWARE.
// requires linking Minecraft.Client against Ws2_32.lib
// stats are available at http://127.0.0.1:1338/
//#define ENABLE_PROFILING
#define ENABLE_PROFILING
#ifdef ENABLE_PROFILING
#include "microprofile/microprofile.h"
#define PROFILER_INIT() \
do \
{ \
MicroProfileOnThreadCreate("MainRenderThread"); \
MicroProfileSetEnableAllGroups(true); \
} while (0)
#define PROFILER_FLIP() MicroProfileFlip(NULL);
#define PROFILER_SCOPE(group, name, color) MICROPROFILE_SCOPEI(group, name, color);
#else
#define PROFILER_INIT() ((void)0);
#define PROFILER_FLIP() ((void)0);
#define PROFILER_SCOPE(group, name, color) ((void)0);
#endif