summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/sw
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-09-09 18:50:49 -0600
committerBrian Paul <brianp@vmware.com>2010-09-09 19:19:28 -0600
commit5c3f6787909e765e1887fe67d013d6b2b2613b3f (patch)
treea60b51de034aa5391816ad42ac2dccc7fc0b9b63 /src/gallium/winsys/sw
parentd851dae919f77180ab70035ad621ea0424162c43 (diff)
winsys: emit warning in null_sw_displaytarget_create()
Diffstat (limited to 'src/gallium/winsys/sw')
-rw-r--r--src/gallium/winsys/sw/null/null_sw_winsys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/sw/null/null_sw_winsys.c b/src/gallium/winsys/sw/null/null_sw_winsys.c
index 157efa9973..73b777f629 100644
--- a/src/gallium/winsys/sw/null/null_sw_winsys.c
+++ b/src/gallium/winsys/sw/null/null_sw_winsys.c
@@ -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;
}