gallium: plug in dummy stage->destroy func
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 8 May 2008 20:20:32 +0000 (14:20 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 8 May 2008 20:21:10 +0000 (14:21 -0600)
src/mesa/state_tracker/st_cb_feedback.c

index 1b50792bd1cdb260ac4fe0a494bf5f85d8047552..19021411cfc9ec9fc6581d6c4cd2400ad3768d84 100644 (file)
@@ -173,6 +173,12 @@ feedback_reset_stipple_counter( struct draw_stage *stage )
 }
 
 
+static void
+feedback_destroy( struct draw_stage *stage )
+{
+   /* no-op */
+}
+
 /**
  * Create GL feedback drawing stage.
  */
@@ -188,6 +194,7 @@ draw_glfeedback_stage(GLcontext *ctx, struct draw_context *draw)
    fs->stage.tri = feedback_tri;
    fs->stage.flush = feedback_flush;
    fs->stage.reset_stipple_counter = feedback_reset_stipple_counter;
+   fs->stage.destroy = feedback_destroy;
    fs->ctx = ctx;
 
    return &fs->stage;