diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-08-10 08:57:41 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-08-10 08:57:41 +0300 |
commit | 692e926b1876aeb0aa789f5fa21caf525da1690e (patch) | |
tree | 8ff49c66c1cd6189c967510281176ab06eded061 /source/blender | |
parent | 49ea8e4fea61bd8e7c205e5edc8d0e06e6d4049e (diff) |
Silensed compilation warning in gpu test case.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/gpu/tests/gpu_shader_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/tests/gpu_shader_test.cc b/source/blender/gpu/tests/gpu_shader_test.cc index 43ff86ebbd8..561858f421e 100644 --- a/source/blender/gpu/tests/gpu_shader_test.cc +++ b/source/blender/gpu/tests/gpu_shader_test.cc @@ -108,7 +108,7 @@ void main() { EXPECT_NE(shader, nullptr); /* Construct Texture. */ - GPUTexture *texture = GPU_texture_create_1d("gpu_shader_compute_1d", SIZE, 0, GPU_RGBA32F, NULL); + GPUTexture *texture = GPU_texture_create_1d("gpu_shader_compute_1d", SIZE, 0, GPU_RGBA32F, nullptr); EXPECT_NE(texture, nullptr); GPU_shader_bind(shader); |