Here's a patch, more of the same thing that went into CVS revision 1.18.2.3
Index: sg/simgear/screen/RenderTexture.cpp
===================================================================
--- sg.orig/simgear/screen/RenderTexture.cpp 2007-10-14 07:46:13.000000000
-0600
+++ sg/simgear/screen/RenderTexture.cpp 2008-01-19 07:48:07.000000000 -0700
@@ -514,7 +514,7 @@
}
if (error =
- CGLChoosePixelFormat(&pixFormatAttribs[0], &pixFormat,
&iNumFormats))
+ CGLChoosePixelFormat(&pixFormatAttribs[0], &pixFormat,
(GLint*)&iNumFormats))
{
fprintf(stderr,
"RenderTexture Error: CGLChoosePixelFormat() failed.\n");
@@ -556,7 +556,7 @@
}
long screen;
- if (error = CGLGetVirtualScreen(CGLGetCurrentContext(), &screen))
+ if (error = CGLGetVirtualScreen(CGLGetCurrentContext(),
(GLint*)&screen))
{
_cglCheckError(error);
return false;
--
Hans Fugal
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel