Re: OpenGL export is messed up
Re: OpenGL export is messed up
- Subject: Re: OpenGL export is messed up
- From: Kyle Sluder <email@hidden>
- Date: Mon, 2 Feb 2009 12:45:54 -0500
On Mon, Feb 2, 2009 at 10:24 AM, Jonathan Selander <email@hidden> wrote:
> I seem to have tracked the problem a little bit. If I use this line:
>
> _exporter = [[FrameMovieExporter alloc] initWithPath:[savePanel filename]
> codec:codec pixelsWide:size.width pixelsHigh:size.height options:options];
>
> Things are messed up, but if I hardcode th resolution to 640x480, the image
> is correct, but it doesn't capture the whole image.
Is size an NSSize or CGSize? If so, width and height are CGFloats,
but it looks like you're passing them where ints are expected.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden