summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_clear.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-08-13 16:07:11 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2007-08-13 16:23:44 +0100
commit40a86b20478024ca7c55400019c536cb5ff631d1 (patch)
tree624d3f33b07dfba4328b0c7746af5f58fd496292 /src/mesa/pipe/i915simple/i915_clear.c
parentd46779103b38aeab61701759ed7a0b30cc71c0ef (diff)
Start breaking the #include dependencies between pipe drivers and mesa.
Pipe drivers shouldn't really know much about mesa and certainly shouldn't be #including files from src/mesa/main and the like. I've also (in i915simple especially) moved over from GL types to more conventional int/unsigned usage. This probably isn't really the ultimate desired set of types to use - possibly C99 would be better. It may even be that a subset of the GL types is preferable.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_clear.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_clear.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/pipe/i915simple/i915_clear.c b/src/mesa/pipe/i915simple/i915_clear.c
index 11aa55b64b..a4dba1a764 100644
--- a/src/mesa/pipe/i915simple/i915_clear.c
+++ b/src/mesa/pipe/i915simple/i915_clear.c
@@ -33,7 +33,7 @@
#include "pipe/p_defines.h"
#include "i915_context.h"
#include "i915_state.h"
-#include "colormac.h"
+//#include "colormac.h"
/**
@@ -42,9 +42,9 @@
*/
void
i915_clear(struct pipe_context *pipe, struct pipe_surface *ps,
- GLuint clearValue)
+ unsigned clearValue)
{
- GLint x, y, w, h;
+ int x, y, w, h;
x = 0;
y = 0;