diff options
author | michal <michal@michal-laptop.(none)> | 2007-08-16 19:47:18 +0100 |
---|---|---|
committer | michal <michal@michal-laptop.(none)> | 2007-08-16 19:47:18 +0100 |
commit | 1b19aa522abc3dc4e38666b4a98337a33a82a946 (patch) | |
tree | a8bdb1b6699292abf40889589a9d6b4f932e6103 /src/mesa/pipe | |
parent | 2f559606dc3a27104199226ccf6568a222797055 (diff) |
Break mesa dependencies.
Silence compiler warnings.
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_draw_arrays.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/pipe/softpipe/sp_draw_arrays.c b/src/mesa/pipe/softpipe/sp_draw_arrays.c index c8e161cfb1..69fd6908bb 100644 --- a/src/mesa/pipe/softpipe/sp_draw_arrays.c +++ b/src/mesa/pipe/softpipe/sp_draw_arrays.c @@ -31,8 +31,6 @@ */ -#include "main/context.h" - #include "pipe/p_defines.h" #include "pipe/p_context.h" #include "pipe/p_winsys.h" @@ -175,7 +173,7 @@ run_vertex_program2(struct draw_context *draw, x /= w; y /= w; z /= w; - w = 1.0 / w; + w = 1.0f / w; /* Viewport */ vOut->data[0][0] = scale[0] * x + trans[0]; |