renderer: fix reset to use ctx 0

switch to ctx 0 before removing resources
macos/master
Dave Airlie 10 years ago
parent 051bf2d40e
commit bf8a951c1e
  1. 3
      src/vrend_renderer.c

@ -3179,8 +3179,9 @@ vrend_renderer_fini(void)
if (!inited) if (!inited)
return; return;
vrend_decode_reset(); vrend_renderer_force_ctx_0();
vrend_object_fini_resource_table(); vrend_object_fini_resource_table();
vrend_decode_reset();
inited = 0; inited = 0;
} }

Loading…
Cancel
Save