summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_context.h
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2007-10-29 16:20:45 +0000
committerMichal Krol <michal@tungstengraphics.com>2007-10-29 17:05:38 +0000
commitee295fccdd0c94cb6b8af4dfb30283e39f548223 (patch)
treefe8f5064ad57c5dc12163efb5a91206b1e068141 /src/mesa/pipe/softpipe/sp_context.h
parentd37eb130c090abc413a54e57e0d3800ac4cd59f4 (diff)
Make gallium compile in win32.
Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.h b/src/mesa/pipe/softpipe/sp_context.h
index 720297653f..a411969bc0 100644
--- a/src/mesa/pipe/softpipe/sp_context.h
+++ b/src/mesa/pipe/softpipe/sp_context.h
@@ -31,7 +31,6 @@
#ifndef SP_CONTEXT_H
#define SP_CONTEXT_H
-#include "pipe/p_state.h"
#include "pipe/p_context.h"
#include "pipe/p_defines.h"
@@ -63,7 +62,7 @@ struct softpipe_tile_cache;
#define SP_NEW_CONSTANTS 0x4000
struct sp_vertex_shader_state {
- const struct pipe_shader_state *state;
+ struct pipe_shader_state *state;
void *draw_data;
};