summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/ggi/display
diff options
context:
space:
mode:
authorJon Taylor <[email protected]>2000-10-28 10:02:44 +0000
committerJon Taylor <[email protected]>2000-10-28 10:02:44 +0000
commit1aa958bc9cbca2d2274124d131968b51ee72d7ed (patch)
treeb420fa67dd3384eec1a704fe40cbf07b7e7ac6c8 /src/mesa/drivers/ggi/display
parent1c4b3f4dfbd71dfd0d414ecad1499bf44d31a919 (diff)
Lots of misc. bugfixes to bring GGIMesa in sync with the latest Mesa sources.
Diffstat (limited to 'src/mesa/drivers/ggi/display')
-rw-r--r--src/mesa/drivers/ggi/display/fbdev_mode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/ggi/display/fbdev_mode.c b/src/mesa/drivers/ggi/display/fbdev_mode.c
index f7f8f0b7fef..8aa8d91ef13 100644
--- a/src/mesa/drivers/ggi/display/fbdev_mode.c
+++ b/src/mesa/drivers/ggi/display/fbdev_mode.c
@@ -1,4 +1,4 @@
-/* $Id: fbdev_mode.c,v 1.4 2000/01/07 08:34:44 jtaylor Exp $
+/* $Id: fbdev_mode.c,v 1.5 2000/10/28 10:02:44 jtaylor Exp $
******************************************************************************
display-fbdev-mesa
@@ -80,7 +80,7 @@ static int do_setmode(ggi_visual *vis)
priv->have_accel = 0;
for (id = 1; GGIMesa_fbdev_getapi(vis, id, libname, libargs) == 0; id++)
{
- if (_ggiOpenDL(vis, libname, libargs, NULL) == NULL)
+ if (_ggiOpenDL(vis, libname, libargs, NULL) == 0)
{
fprintf(stderr, "display-fbdev-mesa: Error opening the "
"%s (%s) library.\n", libname, libargs);
@@ -91,7 +91,7 @@ static int do_setmode(ggi_visual *vis)
}
if (priv->oldpriv->accel &&
- _ggiOpenDL(vis, priv->accel, NULL, NULL) != NULL) {
+ _ggiOpenDL(vis, priv->accel, NULL, NULL) != 0) {
priv->have_accel = 1;
}
else