diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2008-05-21 18:13:47 +0300 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2008-05-21 18:13:47 +0300 |
commit | 88f43e5d06fb5543bc40ca060b2c5d8e2673afad (patch) | |
tree | 217d241956736a268312bebb3c0b9b689e59505c /GL/glx | |
parent | 255142b61eb73843b16c2afdb95aa4d1f27e4f0d (diff) |
glx: drop drm.h, sareaHandle from swrast loader
Diffstat (limited to 'GL/glx')
-rw-r--r-- | GL/glx/glxdriswrast.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/GL/glx/glxdriswrast.c b/GL/glx/glxdriswrast.c index 5e98da49b..b3b95995d 100644 --- a/GL/glx/glxdriswrast.c +++ b/GL/glx/glxdriswrast.c @@ -35,7 +35,6 @@ #include <sys/time.h> #include <dlfcn.h> -#include <drm.h> #include <GL/gl.h> #include <GL/internal/dri_interface.h> #include <GL/glxtokens.h> @@ -102,10 +101,10 @@ __glXDRIdrawableDestroy(__GLXdrawable *drawable) } static GLboolean -__glXDRIdrawableResize(__GLXdrawable *glxPriv) +__glXDRIdrawableResize(__GLXdrawable *drawable) { /* Nothing to do here, the DRI driver asks the server for drawable - * geometry when it sess the SAREA timestamps change.*/ + * geometry appropriately. */ return GL_TRUE; } @@ -456,7 +455,6 @@ __glXDRIscreenProbe(ScreenPtr pScreen) const char *driverName = "swrast"; __GLXDRIscreen *screen; char filename[128]; - unsigned int sareaHandle; const __DRIextension **extensions; const __DRIconfig **driConfigs; int i; @@ -506,7 +504,6 @@ __glXDRIscreenProbe(ScreenPtr pScreen) goto handle_error; } - sareaHandle = 0; screen->driScreen = (*screen->swrast->createNewScreen)(pScreen->myNum, loader_extensions, |