/* gflux - creates a fluctuating 3D grid
* requires OpenGL or MesaGL
*
- * Copyright (c) Josiah Pease, 2000
+ * Copyright (c) Josiah Pease, 2000, 2003
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that
int imageMax;
GLubyte *image;
#endif
- GLint texName;
+ GLuint texName;
GLfloat tex_xscale;
GLfloat tex_yscale;
void (*drawFunc)(void);
gflux->imageWidth = ximage->width;
gflux->imageHeight = ximage->height;
- gflux->image = ximage->data;
+ gflux->image = (GLubyte *) ximage->data;
if (bigimage) /* don't scale really large images */
{