diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-08-20 11:31:24 +0200 |
---|---|---|
committer | Luca Barbieri <luca@luca-barbieri.com> | 2010-08-20 18:18:28 +0200 |
commit | b1fa352db8a69883f97dd579d892291f414a67f5 (patch) | |
tree | 1ed8c14cb941a867ace2912f9c780c488de2d54d /src/gallium/auxiliary/os/os_stream_str.c | |
parent | 40eef4c20cc0b4500a0d8c8538872ed4b473d737 (diff) |
os_stream: add printf facility
Diffstat (limited to 'src/gallium/auxiliary/os/os_stream_str.c')
-rw-r--r-- | src/gallium/auxiliary/os/os_stream_str.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/os/os_stream_str.c b/src/gallium/auxiliary/os/os_stream_str.c index b5c7270d2a..be9478b2a1 100644 --- a/src/gallium/auxiliary/os/os_stream_str.c +++ b/src/gallium/auxiliary/os/os_stream_str.c @@ -118,6 +118,7 @@ os_str_stream_create(size_t size) stream->base.close = &os_str_stream_close; stream->base.write = &os_str_stream_write; stream->base.flush = &os_str_stream_flush; + stream->base.vprintf = &os_default_stream_vprintf; stream->str = os_malloc(size); if(!stream->str) |