python: Include missing `p_compiler.h' header.
[mesa.git] / src / gallium / state_trackers / python / st_device.h
index 7cfe6de9f6a733ab9bc8c065e0ef3478fc5b1cd1..0641aff149fd7b5a002f6ebcb2467486cb8ba62a 100644 (file)
@@ -68,13 +68,13 @@ struct st_context {
 
 
 struct st_device {
+   /* FIXME: we also need to refcount for textures and surfaces... */
+   struct pipe_reference reference;
+
    const struct st_winsys *st_ws; 
 
    struct pipe_screen *real_screen;
    struct pipe_screen *screen;
-   
-   /* FIXME: we also need to refcount for textures and surfaces... */
-   unsigned refcount;
 };