]> git.mxchange.org Git - simgear.git/blobdiff - simgear/screen/jpgfactory.hxx
Add another subsystem group.
[simgear.git] / simgear / screen / jpgfactory.hxx
index 2c9c4e9cec255f1efa9fb1c7ca7a7c2270633421..0e631bb941eea398b6b1c6df0313a064190b6d7a 100644 (file)
@@ -16,9 +16,9 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
-// $Id:
+// $Id$
 
 #ifndef _FG_JPGFACTORY_HXX
 #define _FG_JPGFACTORY_HXX
 extern "C" {
 #endif
 
+#ifdef HAVE_WINDOWS_H
+#  define XMD_H // to avoid INT32 redefinition
+#endif
+
+#include <stdlib.h>
+#include <stdio.h>
 #include <jpeglib.h>
 #include <jerror.h>
 
@@ -70,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 ; }