]> git.mxchange.org Git - simgear.git/blobdiff - simgear/screen/jpgfactory.hxx
SGTexture::read_rgb(a)_texture:
[simgear.git] / simgear / screen / jpgfactory.hxx
index abc0318670fcd69af3a34942988f03cc38fed655..0e631bb941eea398b6b1c6df0313a064190b6d7a 100644 (file)
 extern "C" {
 #endif
 
+#ifdef HAVE_WINDOWS_H
+#  define XMD_H // to avoid INT32 redefinition
+#endif
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <jpeglib.h>
@@ -72,6 +76,10 @@ class trJpgFactory {
         void destroy(int error = 0);
 
         int render();
+        void setFrustum(GLdouble left, GLdouble right,
+               GLdouble bottom, GLdouble top,
+               GLdouble zNear, GLdouble zFar) { trFrustum(tr, left, right, bottom, top, zNear, zFar); }
+
         unsigned char *data() { return IMAGE ; }
 
         struct jpeg_compress_struct *JPGinfo() { return &cinfo ; }