#include <stdio.h>
#include <assert.h>
+#include <stdlib.h>
#include <GL/glxext.h>
#include <string>
funSwapIntervalExt(display, window, i);
else if (funSwapIntervalMesa)
funSwapIntervalMesa(i);
- else
- assert(false && "At least one of glXSwapIntervalMESA, glXSwapIntervalEXT must be provided by the system");
+ else {
+ fprintf(stderr, "At least one of glXSwapIntervalMESA, glXSwapIntervalEXT must be provided by the system\n");
+ abort();
+ }
}