diff options
author | Jon Smirl <[email protected]> | 2005-05-13 18:31:35 +0000 |
---|---|---|
committer | Jon Smirl <[email protected]> | 2005-05-13 18:31:35 +0000 |
commit | 7012d01d888d482f2c6ad1180231a482026d213a (patch) | |
tree | 426deb1a0de72921bf19851243443ab570d896f6 /src/egl/main/egldriver.c | |
parent | a6ed129dfc4ccfd898d347543f745f0b7745e31d (diff) |
First attempt at getting egl support up on dumb framebuffer.
Seems to be mostly working. Not all of egl API is implemented.
Diffstat (limited to 'src/egl/main/egldriver.c')
-rw-r--r-- | src/egl/main/egldriver.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index 870c06205c6..e2120e383a8 100644 --- a/src/egl/main/egldriver.c +++ b/src/egl/main/egldriver.c @@ -12,7 +12,7 @@ #include "eglsurface.h" -const char *DefaultDriverName = "demo"; +const char *DefaultDriverName = "demodriver"; /** @@ -75,7 +75,7 @@ _eglOpenDriver(_EGLDisplay *dpy, const char *driverName) char driverFilename[1000]; /* XXX also prepend a directory path??? */ - sprintf(driverFilename, "%sdriver.so", driverName); + sprintf(driverFilename, "%s.so", driverName); #if 1 lib = dlopen(driverFilename, RTLD_NOW); @@ -189,9 +189,11 @@ _eglInitDriverFallbacks(_EGLDriver *drv) drv->CreateScreenSurfaceMESA = _eglCreateScreenSurfaceMESA; drv->ShowSurfaceMESA = _eglShowSurfaceMESA; drv->ScreenPositionMESA = _eglScreenPositionMESA; + drv->QueryDisplayMESA = _eglQueryDisplayMESA; drv->QueryScreenMESA = _eglQueryScreenMESA; drv->QueryScreenSurfaceMESA = _eglQueryScreenSurfaceMESA; drv->QueryScreenModeMESA = _eglQueryScreenModeMESA; + drv->QueryModeStringMESA = _eglQueryModeStringMESA; } |