I have a copy of OS X Leopard, and naturally I am compiling FG and
submitting patches.
This patch is for simgear.
Index: sg/simgear/screen/RenderTexture.cpp
===================================================================
--- sg.orig/simgear/screen/RenderTexture.cpp 2007-10-13 18:49:50.000000000
-0600
+++ sg/simgear/screen/RenderTexture.cpp 2007-10-30 09:55:20.000000000 -0600
@@ -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;
plib needed a few patches, which I have reported to them via
sourceforge. FlightGear is still compiling, it hasn't had any hangups
yet. The OpenAL/alut.h problem is still there, unfortunately, but not
hard to work around.
Will someone please review and commit this patch to simgear? I don't
anticipate any problem, it's just some explicit casting to make this
version of gcc happy.
--
Hans Fugal
Fugal Computing
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel