http://packetstormsecurity.org/UNIX/admin/xscreensaver-3.32.tar.gz
[xscreensaver] / hacks / bumps.h
index 08d56a5ce5ccda4689c01f78ed820d92f940b223..d5601ec789564f551b7b40dfc0ae3b8dc5d01e17 100644 (file)
@@ -34,7 +34,7 @@
 #define PI             3.141592654
 #define RANDOM() ((int) (random() & 0X7FFFFFFFL))
 
-typedef char                   int8_;
+typedef signed char            int8_;
 typedef unsigned char  uint8_;
 typedef short                  int16_;
 typedef unsigned short uint16_;
@@ -43,7 +43,7 @@ typedef unsigned long uint32_;
 typedef unsigned char  BOOL;
 
 
-// Globals:
+/* Globals: */
 char *progclass = "Bumps";
 
 char *defaults [] = {
@@ -53,6 +53,9 @@ char *defaults [] = {
   "*delay:             50000",
   "*soften:            1",
   "*invert:            FALSE",
+#ifdef __sgi    /* really, HAVE_READ_DISPLAY_EXTENSION */
+   "*visualID:         Best",
+#endif
   0
 };