summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-01-17 20:50:00 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-01-17 20:50:00 +0100
commita5df724c52d19ccc5e9151493e889095c186135d (patch)
tree5f6dc6ef209242314dbaee1471f4f87c644ad054
parent2e28c1fda24988241ef7abb91b7d896e38f5df26 (diff)
egl: Make eglinfo print screen info
-rw-r--r--progs/egl/eglinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/egl/eglinfo.c b/progs/egl/eglinfo.c
index 14620a9759..4486916e95 100644
--- a/progs/egl/eglinfo.c
+++ b/progs/egl/eglinfo.c
@@ -24,8 +24,10 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#define EGL_EGLEXT_PROTOTYPES
#include <EGL/egl.h>
+#include <EGL/eglext.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
@@ -35,7 +37,6 @@
#define MAX_MODES 1000
#define MAX_SCREENS 10
-
/**
* Print table of all available configurations.
*/