support for floating point images => needed for skybox
[demo] / src / image.h
index d39e750..b09d5e7 100644 (file)
@@ -5,7 +5,10 @@ class Image {
 public:
        int w;
        int h;
-       unsigned char *pixels;
+       int psz;
+
+       bool is_float;
+       void *pixels;
 
        Image();
        ~Image();