From 5f54f067da7ee24a61d6cb41e0636383729e2bad Mon Sep 17 00:00:00 2001
From: Fabio Estevam <festevam@gmail.com>
Date: Mon, 8 Jan 2024 15:00:01 -0300
Subject: [PATCH] cube-gears: Change header file to <GLES3/gl3.h>

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@gmail.com>
Suggested-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/kmscube/-/merge_requests/51]
---
 cube-gears.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cube-gears.c b/cube-gears.c
index d5b7a5f..cb538ec 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"
