Added legacy GLES2 renderer option

This commit is contained in:
vaxerski
2022-04-13 17:34:13 +02:00
parent 4b7a1a471f
commit 084e922642
6 changed files with 43 additions and 3 deletions

View File

@@ -84,8 +84,15 @@ extern "C" {
#undef static
#endif
#ifdef LEGACY_RENDERER
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#define GLES2
#else
#define GLES32
#include <GLES3/gl32.h>
#include <GLES3/gl3ext.h>
#endif
#include "helpers/Vector2D.hpp"