X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FTGALoader.h;h=d8f333635a9cd380749a8284c22243f5cdca4212;hb=34ce0cdd42f673a04aa29ae148d2206420dfd813;hp=0210e13928fbc0238981f536e766534c6b4b9ef1;hpb=cd043e3f9e26c2b3406b40a354c2840941e9db7f;p=lugaru.git
diff --git a/Source/TGALoader.h b/Source/TGALoader.h
index 0210e13..d8f3336 100644
--- a/Source/TGALoader.h
+++ b/Source/TGALoader.h
@@ -37,21 +37,17 @@ along with Lugaru. If not, see .
#include "GL/gl.h"
#else
#include "gamegl.h"
-// #include "MoreFilesX.h"
#endif
-//#include
-//#include
-
/**> DATA STRUCTURES <**/
-typedef struct TGAImageRec {
+typedef struct ImageRec {
GLubyte *data; // Image Data (Up To 32 Bits)
GLuint bpp; // Image Color Depth In Bits Per Pixel.
GLuint sizeX;
GLuint sizeY;
-} TGAImageRec;
+} ImageRec;
-bool upload_image(const unsigned char* filePath, bool hasalpha);
+bool upload_image(const char* filePath);
#endif