[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C function copying to void *
- From: Ana Zgombic <morselle@...>
- Date: Sat, 19 Feb 2011 22:04:06 +0800
On Sat, Feb 19, 2011 at 8:00 PM, Mike Pall <mikelu-1102@mike.de> wrote:
> malkia wrote:
>> I think the problem is that "x" and "y" are nil, not that color is of
>> the wrong type.
>
> Yes, that would be my guess, too. I've just pushed some changes to
> improve the error messages:
>
> OLD:
> cannot convert 'void *' to 'int'
>
> NEW:
> bad argument #1 to 'glReadPixels' (cannot convert 'nil' to 'int')
>
+1 to clueful error messages