winsys: emit warning in null_sw_displaytarget_create()
authorBrian Paul <brianp@vmware.com>
Fri, 10 Sep 2010 00:50:49 +0000 (18:50 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 10 Sep 2010 01:19:28 +0000 (19:19 -0600)
src/gallium/winsys/sw/null/null_sw_winsys.c

index 157efa9973e1b8b688e8583bd19912b873b93825..73b777f6296d8c70c6d834da28d0a96dd767b274 100644 (file)
@@ -35,6 +35,7 @@
  * @author Jose Fonseca
  */
 
+#include <stdio.h>
 
 #include "pipe/p_format.h"
 #include "util/u_memory.h"
@@ -85,6 +86,7 @@ null_sw_displaytarget_create(struct sw_winsys *winsys,
                              unsigned alignment,
                              unsigned *stride)
 {
+   fprintf(stderr, "null_sw_displaytarget_create() returning NULL\n");
    return NULL;
 }