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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user