commit | 016701f6860a840e079cb4c5f844a8cced712cd8 | [log] [tgz] |
---|---|---|
author | Brian Paul <brian.paul@tungstengraphics.com> | Tue Jul 29 17:43:35 2008 -0600 |
committer | Brian Paul <brian.paul@tungstengraphics.com> | Tue Jul 29 17:43:35 2008 -0600 |
tree | 217bbdbb61654ebf06220b19ecca7388024076c0 | |
parent | b26a80aa12f1f8316da495b4fdeb94e75ba5d740 [diff] [blame] |
mesa: Silence compiler warnings on Windows.
diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c index 4575a06..b9b7712 100644 --- a/src/mesa/shader/prog_execute.c +++ b/src/mesa/shader/prog_execute.c
@@ -717,7 +717,7 @@ * result.z = result.x * APPX(result.y) * We do what the ARB extension says. */ - q[2] = pow(2.0, t[0]); + q[2] = (GLfloat) pow(2.0, t[0]); } q[1] = t[0] - floor_t0; q[3] = 1.0F;