Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame^] | 1 | From 0651c4edc9909832ff2acbbf170268f34e36616d Mon Sep 17 00:00:00 2001 |
| 2 | From: Fabio Estevam <festevam@gmail.com> |
| 3 | Date: Mon, 8 Jan 2024 15:00:01 -0300 |
| 4 | Subject: [PATCH] cube-gears: Change header file to <GLES3/gl3.h> |
| 5 | |
| 6 | Since commit 96d63eb59e34 ("kmscube: Add gears mode"), kmscube fails |
| 7 | to build on platforms without <GL/gl.h>. |
| 8 | |
| 9 | Fix it by changing the header file to <GLES3/gl3.h>. |
| 10 | |
| 11 | Reported-by: Martin Jansa <martin.jansa@gmail.com> |
| 12 | Suggested-by: Martin Jansa <martin.jansa@gmail.com> |
| 13 | Signed-off-by: Fabio Estevam <festevam@gmail.com> |
| 14 | Upstream-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 | |
| 19 | diff --git a/cube-gears.c b/cube-gears.c |
| 20 | index 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 | -- |
| 33 | 2.34.1 |