diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/svga/svga_sampler_view.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/svga/svga_screen_cache.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_sampler_view.c b/src/gallium/drivers/svga/svga_sampler_view.c index 2c846b29a44..55dc49f2d2c 100644 --- a/src/gallium/drivers/svga/svga_sampler_view.c +++ b/src/gallium/drivers/svga/svga_sampler_view.c @@ -150,7 +150,6 @@ svga_get_tex_sampler_view(struct pipe_context *pipe, &sv->key); if (!sv->handle) { - assert(0); sv->key.cachable = 0; sv->handle = tex->handle; debug_reference(&sv->reference, diff --git a/src/gallium/drivers/svga/svga_screen_cache.c b/src/gallium/drivers/svga/svga_screen_cache.c index 09f4fe871dd..71dc72e7b8a 100644 --- a/src/gallium/drivers/svga/svga_screen_cache.c +++ b/src/gallium/drivers/svga/svga_screen_cache.c @@ -210,7 +210,6 @@ svga_screen_cache_add(struct svga_screen *svgascreen, assert(key->cachable); - assert(handle); if (!handle) return; |