summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch
blob: 17fb208c9f89dd5b4128ea4ece9a428b2731f3e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From d152655a1421f0cdf7ce22c35a36c367c07af587 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 26 Aug 2014 14:44:17 -0500
Subject: [PATCH] mesa-demos:  Add extension header to fix build break now that
 gl1 is removed

Upstream-Status: Pending

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 src/egl/opengles1/clear.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/egl/opengles1/clear.c b/src/egl/opengles1/clear.c
index 9fe1b52..ca9954a 100644
--- a/src/egl/opengles1/clear.c
+++ b/src/egl/opengles1/clear.c
@@ -34,7 +34,7 @@
 #include <stdio.h>
 #include <EGL/egl.h>
 #include <GLES/gl.h>
-
+#include <GLES/glext.h>
 #include "eglut.h"
 
 typedef void (GL_APIENTRY *type_ClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);