summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2003-12-05 22:35:57 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2003-12-05 22:35:57 +0000
commitcc140115965210d1d9aa37d6b91d4632381ab60a (patch)
tree1a89f9a038f3dcd8f7f230a2891aa994dc1ebeb6 /src/mesa
parent87ae8db37441e09b9af8be95c271c12258cff390 (diff)
fix _SOLO build problem
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/sis/sis_screen.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_screen.c b/src/mesa/drivers/dri/sis/sis_screen.c
index a43f2be8c0..3171be5002 100644
--- a/src/mesa/drivers/dri/sis/sis_screen.c
+++ b/src/mesa/drivers/dri/sis/sis_screen.c
@@ -268,6 +268,7 @@ static struct __DriverAPIRec sisAPI = {
* The __driCreateScreen name is the symbol that libGL.so fetches.
* Return: pointer to a __DRIscreenPrivate.
*/
+#ifndef _SOLO
void *__driCreateScreen(Display *dpy, int scrn, __DRIscreen *psc,
int numConfigs, __GLXvisualConfig *config)
{
@@ -275,3 +276,12 @@ void *__driCreateScreen(Display *dpy, int scrn, __DRIscreen *psc,
psp = __driUtilCreateScreen( dpy, scrn, psc, numConfigs, config, &sisAPI );
return (void *)psp;
}
+#else
+void *__driCreateScreen(struct DRIDriverRec *driver,
+ struct DRIDriverContextRec *driverContext)
+{
+ __DRIscreenPrivate *psp;
+ psp = __driUtilCreateScreen(driver, driverContext, &sisAPI);
+ return (void *) psp;
+}
+#endif