swrast* (gallium, classic): add MESA_copy_sub_buffer support (v3)
[mesa.git] / src / gallium / winsys / sw / null / null_sw_winsys.c
index 5027e57b30355da15ddb17edda056ea04191e0fd..9c8b3ec43968bc576dca0847fcee284a6daa1525 100644 (file)
@@ -35,6 +35,7 @@
  * @author Jose Fonseca
  */
 
+#include <stdio.h>
 
 #include "pipe/p_format.h"
 #include "util/u_memory.h"
@@ -85,13 +86,14 @@ null_sw_displaytarget_create(struct sw_winsys *winsys,
                              unsigned alignment,
                              unsigned *stride)
 {
+   fprintf(stderr, "null_sw_displaytarget_create() returning NULL\n");
    return NULL;
 }
 
 
 static struct sw_displaytarget *
 null_sw_displaytarget_from_handle(struct sw_winsys *winsys,
-                                  const struct pipe_texture *templet,
+                                  const struct pipe_resource *templat,
                                   struct winsys_handle *whandle,
                                   unsigned *stride)
 {
@@ -112,7 +114,8 @@ null_sw_displaytarget_get_handle(struct sw_winsys *winsys,
 static void
 null_sw_displaytarget_display(struct sw_winsys *winsys,
                               struct sw_displaytarget *dt,
-                              void *context_private)
+                              void *context_private,
+                              struct pipe_box *box)
 {
    assert(0);
 }