aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/sis
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2004-07-04 20:33:48 +0000
committerJon Smirl <[email protected]>2004-07-04 20:33:48 +0000
commitaaebfc88c08c79cd70f1e0d1d262a25e9ded47d1 (patch)
tree9c1aa0013c88e370457ea47aea3e8baccec87c52 /src/mesa/drivers/dri/sis
parent2371033bbaf6e7477bfa893654a0467a084f335b (diff)
Patch removes _SOLO definition needed for mesa-solo. mesa-solo
uses the NEW_INTERFACE now so _SOLO isn't necessary anymore. Tested with the hardware that I own.
Diffstat (limited to 'src/mesa/drivers/dri/sis')
-rw-r--r--src/mesa/drivers/dri/sis/sis_screen.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_screen.c b/src/mesa/drivers/dri/sis/sis_screen.c
index 986f32040bf..aa1cd9b5df5 100644
--- a/src/mesa/drivers/dri/sis/sis_screen.c
+++ b/src/mesa/drivers/dri/sis/sis_screen.c
@@ -41,9 +41,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xmlpool.h"
-#ifndef _SOLO
#include "GL/internal/dri_interface.h"
-#endif
const char __driConfigOptions[] =
DRI_CONF_BEGIN
@@ -348,7 +346,6 @@ static struct __DriverAPIRec sisAPI = {
* Return: pointer to a __DRIscreenPrivate.
*/
#if !defined(DRI_NEW_INTERFACE_ONLY)
-#ifndef _SOLO
void *__driCreateScreen(Display *dpy, int scrn, __DRIscreen *psc,
int numConfigs, __GLXvisualConfig *config)
{
@@ -356,15 +353,6 @@ 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
#endif /* !defined(DRI_NEW_INTERFACE_ONLY) */
/**