Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-06-22 09:10:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-22 09:11:17 +0300
commit61bed8768d4d268b7dfa8fe7734c1aebb4bb639c (patch)
treeae099b84b55092bb4b78bac4a7c88bd4b80c38b5 /source/blender/gpu/intern/gpu_texture.c
parent2e80279a75bc5cdce0be52b53286688b126bcd40 (diff)
Cleanup: suppress assert in recent GPU refactor
Diffstat (limited to 'source/blender/gpu/intern/gpu_texture.c')
-rw-r--r--source/blender/gpu/intern/gpu_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c
index 8c66b67a869..63a20ecbe1b 100644
--- a/source/blender/gpu/intern/gpu_texture.c
+++ b/source/blender/gpu/intern/gpu_texture.c
@@ -888,7 +888,7 @@ GPUTexture *GPU_texture_create_from_vertbuf(Gwn_VertBuf *vert)
void GPU_texture_update_sub(GPUTexture *tex, const void *pixels, int offset_x, int offset_y, int offset_z, int width, int height, int depth)
{
- BLI_assert(tex->format > -1);
+ BLI_assert((int)tex->format > -1);
BLI_assert(tex->components > -1);
GLenum format, data_format;