From: José Fonseca Date: Sat, 17 Apr 2010 12:48:19 +0000 (+0200) Subject: st/python: Set the bind flag for the default texture. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b95c9549db721392bf7a1f5ee820af17694fe38;p=mesa.git st/python: Set the bind flag for the default texture. --- diff --git a/src/gallium/state_trackers/python/st_device.c b/src/gallium/state_trackers/python/st_device.c index 135acad45e1..aac28cacfde 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) {