mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-06-01 18:42:56 +00:00
chore: clean up unused code from Linux_Minecraft.cpp
This commit is contained in:
parent
7c6c6d3df7
commit
7b18641f70
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#include <assert.h>
|
||||
// #include <system_service.h>
|
||||
#include <codecvt>
|
||||
#if defined(__linux__) && defined(__GLIBC__)
|
||||
#include <signal.h>
|
||||
#include <execinfo.h>
|
||||
|
|
@ -710,16 +709,6 @@ void CleanupDevice() {
|
|||
}
|
||||
#endif
|
||||
|
||||
int StartMinecraftThreadProc(void* lpParameter) {
|
||||
Vec3::UseDefaultThreadStorage();
|
||||
AABB::UseDefaultThreadStorage();
|
||||
Tesselator::CreateNewThreadStorage(1024 * 1024);
|
||||
RenderManager.InitialiseContext();
|
||||
Minecraft::start(std::wstring(), std::wstring());
|
||||
delete Tesselator::getInstance();
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(int argc, const char* argv[]) {
|
||||
#if defined(__linux__) && defined(__GLIBC__)
|
||||
struct sigaction sa;
|
||||
|
|
@ -1202,7 +1191,7 @@ void FreeRichPresenceStrings() {
|
|||
vRichPresenceStrings.clear();
|
||||
}
|
||||
|
||||
#ifdef MEMORY_TRACKING
|
||||
#if 0 // #ifdef MEMORY_TRACKING
|
||||
|
||||
int totalAllocGen = 0;
|
||||
std::unordered_map<int, int> allocCounts;
|
||||
|
|
|
|||
Loading…
Reference in a new issue