nouveau: remove vbo_context() call

_vbo_DestroyContext() can be safely called even if there's no VBO
module.  Removes a dependency on the vbo_context() function.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
Brian Paul 2018-01-18 13:51:06 -07:00
parent 7b0ae96711
commit 04a17ec327

View file

@ -202,8 +202,7 @@ nouveau_context_deinit(struct gl_context *ctx)
if (TNL_CONTEXT(ctx))
_tnl_DestroyContext(ctx);
if (vbo_context(ctx))
_vbo_DestroyContext(ctx);
_vbo_DestroyContext(ctx);
if (SWRAST_CONTEXT(ctx))
_swrast_DestroyContext(ctx);