projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
progs: Try to read the texture from the current dir, if full path fails.
[mesa.git]
/
progs
/
egl
/
eglinfo.c
diff --git
a/progs/egl/eglinfo.c
b/progs/egl/eglinfo.c
index 14620a975964ec16d81c32a46d04b514da17618c..feae954b75afc0b3d977c8a73a94d36eb9306778 100644
(file)
--- 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.
*/
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#define EGL_EGLEXT_PROTOTYPES
#include <EGL/egl.h>
#include <EGL/egl.h>
+#include <EGL/eglext.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
@@
-35,7
+37,6
@@
#define MAX_MODES 1000
#define MAX_SCREENS 10
#define MAX_MODES 1000
#define MAX_SCREENS 10
-
/**
* Print table of all available configurations.
*/
/**
* Print table of all available configurations.
*/
@@
-146,7
+147,8
@@
int
main(int argc, char *argv[])
{
int maj, min;
main(int argc, char *argv[])
{
int maj, min;
- EGLDisplay d = eglGetDisplay(EGL_DEFAULT_DISPLAY);
+ //EGLDisplay d = eglGetDisplay((EGLNativeDisplayType)"!EGL_i915");
+ EGLDisplay d = eglGetDisplay((EGLNativeDisplayType)"!EGL_i915");
if (!eglInitialize(d, &maj, &min)) {
printf("eglinfo: eglInitialize failed\n");
if (!eglInitialize(d, &maj, &min)) {
printf("eglinfo: eglInitialize failed\n");