projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: avoid valgrind warning due to opaque only being set sometimes
[mesa.git]
/
src
/
mesa
/
main
/
drawtex.c
diff --git
a/src/mesa/main/drawtex.c
b/src/mesa/main/drawtex.c
index 7c0ec832bb9e584a47f2979ca569a7bb9df1d401..9c4fdf90e3b8a19fac825901e42f4da9b88d0be5 100644
(file)
--- a/
src/mesa/main/drawtex.c
+++ b/
src/mesa/main/drawtex.c
@@
-46,7
+46,7
@@
draw_texture(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z,
if (ctx->NewState)
_mesa_update_state(ctx);
-
ASSERT
(ctx->Driver.DrawTex);
+
assert
(ctx->Driver.DrawTex);
ctx->Driver.DrawTex(ctx, x, y, z, width, height);
_mesa_set_vp_override(ctx, GL_FALSE);