Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / gallium / tests / graw / clear.c
index 2a08ae154854e35f15cfd2865c52a5c65f9b6f42..3c16f5211a640f3655725475ad7bc1912aff35ea 100644 (file)
@@ -3,7 +3,7 @@
  */
 
 #include <stdio.h>
-#include "state_tracker/graw.h"
+#include "frontend/graw.h"
 #include "pipe/p_screen.h"
 #include "pipe/p_context.h"
 #include "pipe/p_state.h"
@@ -28,7 +28,7 @@ static void draw( void )
 {
    union pipe_color_union clear_color = { {1, 0, 1, 1} };
 
-   ctx->clear(ctx, PIPE_CLEAR_COLOR, &clear_color, 0, 0);
+   ctx->clear(ctx, PIPE_CLEAR_COLOR, NULL, &clear_color, 0, 0);
    ctx->flush(ctx, NULL, 0);
 
    graw_save_surface_to_file(ctx, surf, NULL);