I have a strange problem with my shader code written in OGSL. I have written a "fixed function lightning" vertex shader which works with one light perfect! But if i try to access all lights via the  operator (like gl_LightSource[i]), i have a compiler error: "array must be redeclared with a size before being indexed with a variable". I thought the gl_LightSource global variable was defined with "uniform gl_LightSourceParameters gl_LightSource[gl_MaxLights];", and gl_MaxLights gives the array size! What have i do wrong? I'm using a Radeaon 9800.