summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe/sp_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.h b/src/mesa/pipe/softpipe/sp_context.h
index 3c379c9091a..43fa8acd763 100644
--- a/src/mesa/pipe/softpipe/sp_context.h
+++ b/src/mesa/pipe/softpipe/sp_context.h
@@ -38,8 +38,8 @@
#include "sp_quad.h"
-
struct softpipe_surface;
+struct softpipe_winsys;
struct draw_context;
struct draw_stage;
@@ -68,6 +68,8 @@ enum interp_mode {
struct softpipe_context {
struct pipe_context pipe; /**< base class */
+ struct softpipe_winsys *winsys; /**< window system interface */
+
/* The most recent drawing state as set by the driver:
*/