> im having this weird error when trying to define array in GLSL. the simple version is like this:
> float test[2] = {2.0, 2.0};
> most tutorials do array and the works fine.
> shouldnt we able to use array in GLSL? any1 know what did i miss?
Looks like Apple forgot to implement array initializers in GLSL. You
can declare the array, but can't initialize it's values.
Bug #5924418 filed on 2008 May, marked as duplicate of bug #5183554.
--
Aras Pranckevičius
work: http://unity3d.com
home: http://aras-p.info
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden