lua-users home
lua-l archive

Re: C function copying to void *

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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')
--Mike

AltStyle によって変換されたページ (->オリジナル) /