[PATCH kmscube] cube-gears: Change header file to <GLES3/gl3.h>

Fabio Estevam festevam at gmail.com
Mon Jan 8 18:06:42 UTC 2024


Since commit 96d63eb59e34 (" kmscube: Add gears mode") , kmscube fails
to build on platforms without <GL/gl.h>.

Fix it by changing the header file to <GLES3/gl3.h>.

Reported-by: Martin Jansa <martin.jansa at gmail.com>
Suggested-by: Martin Jansa <martin.jansa at gmail.com>
Signed-off-by: Fabio Estevam <festevam at gmail.com>
---
 cube-gears.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cube-gears.c b/cube-gears.c
index d5b7a5f9cbef..cb538ecc4aee 100644
--- a/cube-gears.c
+++ b/cube-gears.c
@@ -31,7 +31,7 @@
 #include <sys/time.h>
 #include <math.h>
 
-#include <GL/gl.h>
+#include <GLES3/gl3.h>
 
 #include "common.h"
 #include "esUtil.h"
-- 
2.34.1



More information about the mesa-dev mailing list