blob: 6843a662f4613b4f363515cc0e0fda3412636cb3 [file] [log] [blame]
Patrick Williams705982a2024-01-12 09:51:57 -06001From 0651c4edc9909832ff2acbbf170268f34e36616d Mon Sep 17 00:00:00 2001
2From: Fabio Estevam <festevam@gmail.com>
3Date: Mon, 8 Jan 2024 15:00:01 -0300
4Subject: [PATCH] cube-gears: Change header file to <GLES3/gl3.h>
5
6Since commit 96d63eb59e34 ("kmscube: Add gears mode"), kmscube fails
7to build on platforms without <GL/gl.h>.
8
9Fix it by changing the header file to <GLES3/gl3.h>.
10
11Reported-by: Martin Jansa <martin.jansa@gmail.com>
12Suggested-by: Martin Jansa <martin.jansa@gmail.com>
13Signed-off-by: Fabio Estevam <festevam@gmail.com>
14Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/kmscube/-/merge_requests/51]
15---
16 cube-gears.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/cube-gears.c b/cube-gears.c
20index d5b7a5f9cbef..cb538ecc4aee 100644
21--- a/cube-gears.c
22+++ b/cube-gears.c
23@@ -31,7 +31,7 @@
24 #include <sys/time.h>
25 #include <math.h>
26
27-#include <GL/gl.h>
28+#include <GLES3/gl3.h>
29
30 #include "common.h"
31 #include "esUtil.h"
32--
332.34.1