projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f55960
)
Break mesa dependencies.
author
michal
<michal@michal-laptop.(none)>
Thu, 16 Aug 2007 18:47:18 +0000
(19:47 +0100)
committer
michal
<michal@michal-laptop.(none)>
Thu, 16 Aug 2007 18:47:18 +0000
(19:47 +0100)
Silence compiler warnings.
src/mesa/pipe/softpipe/sp_draw_arrays.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/softpipe/sp_draw_arrays.c
b/src/mesa/pipe/softpipe/sp_draw_arrays.c
index c8e161cfb1b5b9b07ee0ec04b9489d5529ea38f5..69fd6908bb9d3f04c719286c2b92dd833eba2518 100644
(file)
--- 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.0
f
/ w;
/* Viewport */
vOut->data[0][0] = scale[0] * x + trans[0];