summaryrefslogtreecommitdiffstats
path: root/Smoke/renderer_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'Smoke/renderer_gl.c')
-rw-r--r--Smoke/renderer_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Smoke/renderer_gl.c b/Smoke/renderer_gl.c
index a2b6a6f..78d9867 100644
--- a/Smoke/renderer_gl.c
+++ b/Smoke/renderer_gl.c
@@ -337,7 +337,7 @@ void render_smoke(void)
pz = height[idx] *heightplots_get_height();
color = colormap_get_color(frame[idx]);
- glColor3f(frame[idx], frame[idx], frame[idx]);
+ glColor4f(color.r, color.b, color.g, color.a);
glNormal3f(normal[idx].x, normal[idx].y, normal[idx].z);
glVertex3f(px, py, pz);