FIXED: Android 32bit build issues, expanded supported SDKs

This commit is contained in:
mschiller890
2026-03-20 12:57:55 +01:00
parent 017d908c54
commit a51f47a108
8 changed files with 13 additions and 10 deletions

View File

@@ -7,8 +7,7 @@
//#include "main_android_java.h"
#include "platform/input/Multitouch.h"
#include <unistd.h>
#include <sys/syscall.h>
#define gettid() ((int)syscall(SYS_gettid))
#include <pthread.h>
// Horrible, I know. / A
#ifndef MAIN_CLASS
@@ -145,7 +144,7 @@ Java_com_mojang_minecraftpe_GLRenderer_nativeOnSurfaceCreated(JNIEnv* env) {
JNIEXPORT void JNICALL
Java_com_mojang_minecraftpe_GLRenderer_nativeOnSurfaceChanged(JNIEnv* env, jclass cls, jint w, jint h) {
LOGI("@nativeOnSurfaceChanged: %p\n", pthread_self());
LOGI("@nativeOnSurfaceChanged: %lu\n", (unsigned long)pthread_self());
if (gApp) {
gApp->setSize(w, h);