summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom_clip.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-06-14 18:23:43 +0100
committerKeith Whitwell <[email protected]>2007-06-14 18:23:43 +0100
commit943964a1e5bad86bdceb0a06d60fb3b302ebce6a (patch)
treea4ed47408b6d7a856b510ae68230d0ba3479071f /src/mesa/state_tracker/st_atom_clip.c
parent6393cda6766b707ef01e925d378239a66d143ae0 (diff)
Rename directories again?!
Some git wierdness going on.
Diffstat (limited to 'src/mesa/state_tracker/st_atom_clip.c')
-rw-r--r--src/mesa/state_tracker/st_atom_clip.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/state_tracker/st_atom_clip.c b/src/mesa/state_tracker/st_atom_clip.c
index 710d6ffc84f..8ccad637d5f 100644
--- a/src/mesa/state_tracker/st_atom_clip.c
+++ b/src/mesa/state_tracker/st_atom_clip.c
@@ -32,7 +32,7 @@
#include "st_context.h"
-#include "softpipe/sp_context.h"
+#include "pipe/p_context.h"
#include "st_atom.h"
@@ -40,12 +40,12 @@
*/
static void update_clip( struct st_context *st )
{
- struct softpipe_clip_state clip;
+ struct pipe_clip_state clip;
GLuint i;
memset(&clip, 0, sizeof(clip));
- for (i = 0; i < SP_MAX_CLIP_PLANES; i++) {
+ for (i = 0; i < PIPE_MAX_CLIP_PLANES; i++) {
if (st->ctx->Transform.ClipPlanesEnabled & (1 << i)) {
memcpy(clip.ucp[clip.nr],
st->ctx->Transform._ClipUserPlane[i],
@@ -56,7 +56,7 @@ static void update_clip( struct st_context *st )
if (memcmp(&clip, &st->state.clip, sizeof(clip)) != 0) {
st->state.clip = clip;
- st->softpipe->set_clip_state(st->softpipe, &clip);
+ st->pipe->set_clip_state(st->pipe, &clip);
}
}