gallium: plug in dummy stage->destroy func

This commit is contained in:
Brian Paul 2008-05-08 14:20:32 -06:00
parent d2ec02f440
commit 6548e9b018
1 changed files with 7 additions and 0 deletions

View 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;