diff options
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.h')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h index 65304a8f1ff..1cee0e06c02 100644 --- a/src/gallium/drivers/nv50/nv50_context.h +++ b/src/gallium/drivers/nv50/nv50_context.h @@ -10,7 +10,9 @@ #include "util/u_inlines.h" #include "util/u_dynarray.h" +#ifdef NV50_WITH_DRAW_MODULE #include "draw/draw_vertex.h" +#endif #include "nv50_debug.h" #include "nv50_winsys.h" @@ -136,7 +138,9 @@ struct nv50_context { boolean vbo_push_hint; +#ifdef NV50_WITH_DRAW_MODULE struct draw_context *draw; +#endif }; static INLINE struct nv50_context * |