#include <stdlib.h>
#include <sys/time.h>
-/*-
- * due to a Bug/feature in VMS X11/Intrinsic.h has to be placed before xlock.
- * otherwise caddr_t is not defined correctly
- */
-
-#include <X11/Intrinsic.h>
-
#ifdef STANDALONE
# define PROGCLASS "Screensaver"
# define HACK_INIT init_screensaver
glArrayElement(index3);
glEnd();
- lower = floorf((x - 0.5) * row_data[y - 1].num_x_points
- / (float)row_data[y].num_x_points);
- upper = floorf((x + 0.5) * row_data[y - 1].num_x_points
- / (float)row_data[y].num_x_points);
+ lower = ((x - 0.5) * row_data[y - 1].num_x_points
+ / (float)row_data[y].num_x_points);
+ upper = ((x + 0.5) * row_data[y - 1].num_x_points
+ / (float)row_data[y].num_x_points);
if (upper > lower)
{