OpenGL hacks.
[dcpomatic.git] / hacks / gl / image_loader.h
diff --git a/hacks/gl/image_loader.h b/hacks/gl/image_loader.h
new file mode 100644 (file)
index 0000000..1212fae
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef _image_loader
+#define _image_loader
+
+#ifdef __WXMAC__
+#include "OpenGL/gl.h"
+#else
+#include <GL/gl.h>
+#endif
+#include "wx/wx.h"
+       
+GLuint* loadImage(wxString path, int* imageWidth, int* imageHeight, int* textureWidth, int* textureHeight);
+
+#endif