summaryrefslogtreecommitdiff
path: root/hacks/gl/image_loader.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-28 22:41:25 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-28 22:41:25 +0000
commit1409af06f789ee1a832e61ed722cc48ed18f89f3 (patch)
treef1393eff53f5b25ef4b005da1de981793037eb2c /hacks/gl/image_loader.h
parent4117c113eeffe817fddc1c63f5d10eb4e6ada4f9 (diff)
OpenGL hacks.
Diffstat (limited to 'hacks/gl/image_loader.h')
-rw-r--r--hacks/gl/image_loader.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/hacks/gl/image_loader.h b/hacks/gl/image_loader.h
new file mode 100644
index 000000000..1212faedb
--- /dev/null
+++ b/hacks/gl/image_loader.h
@@ -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