mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
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:
parent
7b0ae96711
commit
04a17ec327
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue