projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b0ae96
)
nouveau: remove vbo_context() call
author
Brian Paul
<brianp@vmware.com>
Thu, 18 Jan 2018 20:51:06 +0000
(13:51 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 24 Jan 2018 17:12:49 +0000
(10:12 -0700)
_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>
src/mesa/drivers/dri/nouveau/nouveau_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/nouveau/nouveau_context.c
b/src/mesa/drivers/dri/nouveau/nouveau_context.c
index 397e39603d2a0cada3731888b17543fdd7e0bce6..5fab81d8663089085527f6dfae928724a4aca59d 100644
(file)
--- 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);