Previous attempt to remove some compiler warnings was
[AROS-Contrib.git] / Demo / GLExcess / Texture.h
blob84dc66e7ec3c375e8c4d18307c58624410d0bf75
1 #ifndef TEXTURE_H
2 #define TEXTURE_H
3 #define MAX_TEXTURE_NAME_LENGTH 64
5 #ifdef WIN32
6 #include <windows.h>
7 #endif
9 #include <stdio.h>
10 #include <GL/gl.h>
11 #include <GL/glu.h>
13 class Texture
15 public:
16 Texture();
17 ~Texture();
18 bool Load(char* Opaque);
19 void Kill();
20 void Use();
22 protected:
23 bool Create(char* FileName);
24 char Name[MAX_TEXTURE_NAME_LENGTH];
25 GLuint tID;
26 GLuint Width, Height;
28 #endif