diff options
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_context.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.c b/src/mesa/drivers/dri/nouveau/nouveau_context.c index 397e39603d2..5fab81d8663 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_context.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_context.c @@ -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); |