On 20-Oct-06, at 11:44 AM, Barrie Jones wrote:
I forgot to include the function parameters. They are as follows: gl_ctx As Integer, gl_draw As Integer I changed "Context" to "gl_ctx" Now I have two errors: error 1: This method or property does not exist #if TargetPowerPC then error 2: Parameters not compatible with this function return callGL(gl_ctx, windowptr)Build settings are "Mac OSX PowerPC" which includes "TargetPowerPC" Any idea how I can fix these errors? Barrie
First, I'm not sure why soft declares are needed if they weren't in Rb 5.5 (???) but as far as your error goes, it seems the function expects gl_draw rather than windowptr - BUT - TargetPowerPC looks like the wrong thing to use. The deprecated TargetPPC constant or the new TargetMacOSClassic makes more sense. In fact, the original classes must have used TargetPPC, since TargetPowerPC didn't exist back when they were made...
Frank. <http://developer.chaoticbox.com/> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
