Attempt to fix Normal Shading on Android and fix IOS compile, also hopefully fixes the millions of errors in the ios logs

This commit is contained in:
Shredder
2026-04-11 19:39:46 +05:00
parent e1b81a7cc3
commit f19c2d24a3
4 changed files with 10 additions and 5 deletions

View File

@@ -4,6 +4,10 @@
#include "../../platform/log.h"
#include "../Options.h"
#if defined(__APPLE__)
#define GLES_SILENCE_DEPRECATION
#endif
// Android should always run OPENGL_ES
#if defined(ANDROID) || defined(__APPLE__) || defined(RPI)
#define OPENGL_ES
@@ -143,7 +147,7 @@ int glhUnProjectf( float winx, float winy, float winz,
//
// Extensions
//
#ifdef WIN32
#ifdef WIN32
#define glGetProcAddress(a) wglGetProcAddress(a)
#else
#define glGetProcAddress(a) (void*(0))