Started to port to iOS; fixing compiler errors here and there

This commit is contained in:
2026-03-17 02:22:17 -04:00
parent 9d831bdb25
commit d103caddab
6 changed files with 77 additions and 42 deletions

View File

@@ -1,7 +1,7 @@
#pragma once
#include <sstream>
#include <type_traits>
#include <util/Mth.h>
#include "Mth.h"
/*
template<typename T>
struct is_option_type : std::false_type {};
@@ -104,4 +104,4 @@ public:
private:
std::string m_value;
};
};

View File

@@ -14,8 +14,8 @@
#define USE_VBO
#define GL_QUADS 0x0007
#if defined(__APPLE__)
#import <OpenGLES/ES1/gl.height>
#import <OpenGLES/ES1/glext.height>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
#elif defined(ANDROID)
#include <GLES/gl.h>
#include <GLES/glext.h>