projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
544f56b
)
meta: silence declaration after code warning on MinGW
author
Brian Paul
<brianp@vmware.com>
Fri, 27 Feb 2015 20:04:38 +0000
(13:04 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 27 Feb 2015 22:22:24 +0000
(15:22 -0700)
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/common/meta_tex_subimage.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/common/meta_tex_subimage.c
b/src/mesa/drivers/common/meta_tex_subimage.c
index 5ae12c8a115b76159d2794eb6dfaf93368bc3ac8..bba2b4f2af0312d6ef5483e8b85d17b87f22d24a 100644
(file)
--- a/
src/mesa/drivers/common/meta_tex_subimage.c
+++ b/
src/mesa/drivers/common/meta_tex_subimage.c
@@
-78,9
+78,10
@@
create_texture_for_pbo(struct gl_context *ctx, bool create_pbo,
*tmp_pbo = 0;
buffer_obj = packing->BufferObj;
} else {
- assert(create_pbo);
bool is_pixel_pack = pbo_target == GL_PIXEL_PACK_BUFFER;
+ assert(create_pbo);
+
_mesa_GenBuffers(1, tmp_pbo);
/* We are not doing this inside meta_begin/end. However, we know the