diff options
author | vaxerski <[email protected]> | 2022-04-13 17:34:13 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-04-13 17:34:13 +0200 |
commit | 084e922642686cac2b03ea88fceb09c0506d7ed2 (patch) | |
tree | b886ea37a2f1fec275da14d62fa32c94288e3d6c /src/includes.hpp | |
parent | 4b7a1a471f5eb4f52a6dac2379c17b2f85b49e61 (diff) | |
download | Hyprland-084e922642686cac2b03ea88fceb09c0506d7ed2.tar.gz Hyprland-084e922642686cac2b03ea88fceb09c0506d7ed2.zip |
Added legacy GLES2 renderer option
Diffstat (limited to 'src/includes.hpp')
-rw-r--r-- | src/includes.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/includes.hpp b/src/includes.hpp index b82319fd..54893af7 100644 --- a/src/includes.hpp +++ b/src/includes.hpp @@ -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" |