summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>2020-12-16 11:08:25 +0900
committerEric Engestrom <eric@engestrom.ch>2022-09-02 13:50:52 +0000
commit94bee60c016bfc55164715249d2bb724de095ea9 (patch)
tree37cfa70181411fb8d773c226e9267867aa9accfc
parente73489217896a3ff2fbf5db90cefceb452370b57 (diff)
texturator: Use correct GL extension header
gl2ext.h is the extenstion header for OpenGL ES 2.0 and all later versions according to the Khronos documentation [1]. gl3ext.h is either an empty stub, or may not even exist on some platforms. [1]: https://www.khronos.org/registry/OpenGL/index_es.php#headers
-rw-r--r--texturator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/texturator.c b/texturator.c
index d9335d7..6d97856 100644
--- a/texturator.c
+++ b/texturator.c
@@ -30,7 +30,7 @@
#include <math.h>
#include <GLES3/gl3.h>
-#include <GLES3/gl3ext.h>
+#include <GLES2/gl2ext.h>
#ifdef HAVE_LIBPNG
#include <png.h>