mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-10-02 01:10:47 +00:00
cleanup: remove console branches from render texture and world helpers
This commit is contained in:
@@ -11,7 +11,7 @@ typedef struct tagTHREADNAME_INFO {
|
||||
} THREADNAME_INFO;
|
||||
|
||||
void SetThreadName(std::uint32_t threadId, const char* threadName) {
|
||||
#ifndef __PS3__
|
||||
#if 1
|
||||
THREADNAME_INFO info;
|
||||
|
||||
info.dwType = 0x1000;
|
||||
@@ -19,7 +19,7 @@ void SetThreadName(std::uint32_t threadId, const char* threadName) {
|
||||
info.dwThreadID = threadId;
|
||||
info.dwFlags = 0;
|
||||
|
||||
#if (defined _WINDOWS64 | defined _DURANGO)
|
||||
#if (defined _WINDOWS64 | 0)
|
||||
__try {
|
||||
RaiseException(0x406D1388, 0, sizeof(info) / sizeof(std::uint32_t),
|
||||
reinterpret_cast<ULONG_PTR*>(&info));
|
||||
@@ -27,7 +27,7 @@ void SetThreadName(std::uint32_t threadId, const char* threadName) {
|
||||
: EXCEPTION_EXECUTE_HANDLER) {
|
||||
}
|
||||
#endif
|
||||
#ifdef _XBOX
|
||||
#if 0
|
||||
__try {
|
||||
RaiseException(
|
||||
0x406D1388, 0, sizeof(info) / sizeof(std::uint32_t),
|
||||
@@ -36,5 +36,5 @@ void SetThreadName(std::uint32_t threadId, const char* threadName) {
|
||||
: EXCEPTION_EXECUTE_HANDLER) {
|
||||
}
|
||||
#endif
|
||||
#endif // __PS3__
|
||||
#endif // 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user