diff options
Diffstat (limited to 'graphics/asymptote/base/shaders/fragment.glsl')
-rw-r--r-- | graphics/asymptote/base/shaders/fragment.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/asymptote/base/shaders/fragment.glsl b/graphics/asymptote/base/shaders/fragment.glsl index 6f42f7d491..0d16585511 100644 --- a/graphics/asymptote/base/shaders/fragment.glsl +++ b/graphics/asymptote/base/shaders/fragment.glsl @@ -220,7 +220,7 @@ void main() #endif } #else - m=Materials[int(materialIndex)]; + m=Materials[materialIndex]; emissive=m.emissive; #ifdef COLOR diffuse=Color; |