summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/p_state.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-18 11:09:12 -0600
committerBrian <[email protected]>2007-10-18 11:41:13 -0600
commit447c93dd1b3bb31fe19fa81b32d1c3c62ab65c54 (patch)
tree9b3f323b26ff2a63d3debe1a1e77fe16341cb61e /src/mesa/pipe/p_state.h
parentb21f4ac15fc190b474e1686d50a6992caed9c388 (diff)
Change type of shader->executable field from void * to generic function pointer.
Fix warnings in draw_create_vertex_shader()
Diffstat (limited to 'src/mesa/pipe/p_state.h')
-rw-r--r--src/mesa/pipe/p_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/p_state.h b/src/mesa/pipe/p_state.h
index da62aa1b274..1c3b2811a4a 100644
--- a/src/mesa/pipe/p_state.h
+++ b/src/mesa/pipe/p_state.h
@@ -148,7 +148,7 @@ struct pipe_shader_state {
#if defined(__i386__) || defined(__386__)
struct x86_function sse2_program;
#endif
- void *executable;
+ void (*executable)();
ubyte num_inputs;
ubyte num_outputs;