summaryrefslogtreecommitdiff
path: root/graphics/asymptote/base/shaders/fragment.glsl
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-06-08 03:01:59 +0000
committerNorbert Preining <norbert@preining.info>2023-06-08 03:01:59 +0000
commit538e6d6e7c75b7cca5470604811205f9dbd55c03 (patch)
tree4807afb694acc9e4ecff2d466d5e37788127d6fb /graphics/asymptote/base/shaders/fragment.glsl
parent5c99135c06494b236cce7fd76e346851cf8c4408 (diff)
CTAN sync 202306080301
Diffstat (limited to 'graphics/asymptote/base/shaders/fragment.glsl')
-rw-r--r--graphics/asymptote/base/shaders/fragment.glsl2
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;