projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c898af
)
st/python: Set the bind flag for the default texture.
author
José Fonseca
<jfonseca@vmware.com>
Sat, 17 Apr 2010 12:48:19 +0000
(14:48 +0200)
committer
José Fonseca
<jfonseca@vmware.com>
Sun, 18 Apr 2010 08:36:28 +0000
(10:36 +0200)
src/gallium/state_trackers/python/st_device.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/python/st_device.c
b/src/gallium/state_trackers/python/st_device.c
index 135acad45e16775c48e73a4094a0aa0bef8d3e58..aac28cacfdea1425f78b49821cd41182f9a2a321 100644
(file)
--- 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) {