projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename class to c_class if using C++ (bug 922294)
[mesa.git]
/
src
/
glx
/
mini
/
dri_util.c
diff --git
a/src/glx/mini/dri_util.c
b/src/glx/mini/dri_util.c
index 6d79d2037c068aaaa90594a2fc4ac6fdea5b47eb..86234111acb8ae01edfe327aed0c4f1cc1598330 100644
(file)
--- a/
src/glx/mini/dri_util.c
+++ b/
src/glx/mini/dri_util.c
@@
-28,7
+28,6
@@
#include <sys/mman.h>
#include <sys/shm.h>
#include <sys/mman.h>
#include <sys/shm.h>
-#include "sarea.h"
#include "dri_util.h"
/**
#include "dri_util.h"
/**
@@
-270,7
+269,7
@@
static void *driCreateDrawable(__DRIscreen *screen,
pdp->w = width;
pdp->h = height;
pdp->numClipRects = 0;
pdp->w = width;
pdp->h = height;
pdp->numClipRects = 0;
- pdp->pClipRects = (
XF86DRIClipRectPtr) malloc(sizeof(XF86DRIClipRectRec
));
+ pdp->pClipRects = (
drm_clip_rect_t *) malloc(sizeof(drm_clip_rect_t
));
(pdp->pClipRects)[0].x1 = 0;
(pdp->pClipRects)[0].y1 = 0;
(pdp->pClipRects)[0].x2 = width;
(pdp->pClipRects)[0].x1 = 0;
(pdp->pClipRects)[0].y1 = 0;
(pdp->pClipRects)[0].x2 = width;
@@
-477,16
+476,6
@@
__driUtilCreateScreen(struct DRIDriverRec *driver,
}
}
}
}
- /*
- * Fake various version numbers.
- */
- psp->ddxMajor = 4;
- psp->ddxMinor = 0;
- psp->ddxPatch = 1;
- psp->driMajor = 4;
- psp->driMinor = 1;
- psp->driPatch = 0;
-
/* install driver's callback functions */
psp->DriverAPI = *driverAPI;
/* install driver's callback functions */
psp->DriverAPI = *driverAPI;