Skip to content
Snippets Groups Projects
Commit 5abf1526 authored by Brian Paul's avatar Brian Paul
Browse files

svga: remove a couple unneeded assertions


Reviewed-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 6476bcbc)
parent 6fc2e0a9
Loading
......@@ -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,
......
......@@ -210,7 +210,6 @@ svga_screen_cache_add(struct svga_screen *svgascreen,
assert(key->cachable);
assert(handle);
if (!handle)
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment