fix #ifndef wrapper in .h file;
use unsigned int
**********************************************************/
#include "glcomptexture.h"
+#ifndef _WIN32
+#include "stdlib.h"
+#endif
glCompTexture *glCompCreateTextureFromRaw(char *filename, int width,
int height, int wrap)
/*Open GL texture handling and storing mechanism
includes glPanel,glCompButton,glCompCustomButton,clCompLabel,glCompStyle
*/
+
+#ifndef GLCOMPTEXTURE_H
+#define GLCOMPTEXTURE_H
+
#ifdef _WIN32
#include "windows.h"
#endif
#include <GL/gl.h>
#include <GL/glu.h>
-#ifndef GLCOMPTEXTURE_H
-#define GLCOMPTEXTURE_H
typedef struct {
- int id;
+ unsigned int id;
float w, h;
} glCompTexture;