diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-22 09:10:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-22 09:11:17 +0300 |
commit | 61bed8768d4d268b7dfa8fe7734c1aebb4bb639c (patch) | |
tree | ae099b84b55092bb4b78bac4a7c88bd4b80c38b5 /source/blender/gpu/intern | |
parent | 2e80279a75bc5cdce0be52b53286688b126bcd40 (diff) |
Cleanup: suppress assert in recent GPU refactor
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_texture.c | 2 |
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; |