diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-04-17 14:48:19 +0200 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-04-18 10:36:28 +0200 |
commit | 4b95c9549db721392bf7a1f5ee820af17694fe38 (patch) | |
tree | 65f44ffe87d6b94fca9e994db5312f16060d3fe7 /src | |
parent | 5c898af8702ae31babe62780302736105386be02 (diff) |
st/python: Set the bind flag for the default texture.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/python/st_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/python/st_device.c b/src/gallium/state_trackers/python/st_device.c index 135acad45e..aac28cacfd 100644 --- a/src/gallium/state_trackers/python/st_device.c +++ b/src/gallium/state_trackers/python/st_device.c @@ -243,6 +243,7 @@ st_context_create(struct st_device *st_dev) templat.height0 = 1; templat.depth0 = 1; templat.last_level = 0; + templat.bind = PIPE_BIND_SAMPLER_VIEW; st_ctx->default_texture = screen->resource_create( screen, &templat ); if(st_ctx->default_texture) { |