gallium: Do not mix winsys-drawable-handle and context-private.
[mesa.git] / src / gallium / state_trackers / vega / vg_tracker.c
index a002e50faf7ed11b3e3ec68d269d80fd17916329..ea5c2ce41f6f2df40d284fd86ec79b93fc5ad74e 100644 (file)
@@ -380,16 +380,8 @@ boolean st_make_current(struct vg_context *st,
                         void *winsys_drawable_handle)
 {
    vg_set_current_context(st);
-   if (st) {
+   if (st)
       st->draw_buffer = draw;
-
-      /* VG state tracker doesn't seem to do front-buffer rendering
-       * (no calls to flush_frontbuffer).  If it ever did start doing
-       * that, it would need to pass this value down in the
-       * flush_frontbuffer call:
-       */
-      st->pipe->priv = winsys_drawable_handle;
-   }
    return VG_TRUE;
 }