vrend: Unbind sampler view after creation

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
macos/master
Gert Wollny 5 years ago committed by Gert Wollny
parent 47088b7fc4
commit aa05501cce
  1. 1
      src/vrend_renderer.c

@ -2096,6 +2096,7 @@ int vrend_create_sampler_view(struct vrend_context *ctx,
glTexParameteri(view->texture->target, GL_TEXTURE_SRGB_DECODE_EXT, glTexParameteri(view->texture->target, GL_TEXTURE_SRGB_DECODE_EXT,
view->srgb_decode); view->srgb_decode);
} }
glBindTexture(view->texture->target, 0);
} }
} }

Loading…
Cancel
Save