nv50: clear buffer status on all vertex bufs, not just the first one
[mesa.git] / src / gallium / state_trackers / xvmc / tests / test_surface.c
index 8145686a0eec0c28aab72ac83475a6a3eade4558..964ca82c506230117b39978b926319e200561bc3 100644 (file)
@@ -26,7 +26,8 @@
  **************************************************************************/
 
 #include <assert.h>
-#include <error.h>
+#include <stdio.h>
+#include <stdlib.h>
 #include "testlib.h"
 
 int main(int argc, char **argv)
@@ -59,7 +60,8 @@ int main(int argc, char **argv)
        ))
        {
                XCloseDisplay(display);
-               error(1, 0, "Error, unable to find a good port.\n");
+               fprintf(stderr, "Error, unable to find a good port.\n");
+               exit(1);
        }
 
        if (is_overlay)