[Bf-blender-cvs] [692e926b187] master: Silensed compilation warning in gpu test case.
Jeroen Bakker
noreply at git.blender.org
Tue Aug 10 07:58:08 CEST 2021
Commit: 692e926b1876aeb0aa789f5fa21caf525da1690e
Author: Jeroen Bakker
Date: Tue Aug 10 07:57:41 2021 +0200
Branches: master
https://developer.blender.org/rB692e926b1876aeb0aa789f5fa21caf525da1690e
Silensed compilation warning in gpu test case.
===================================================================
M source/blender/gpu/tests/gpu_shader_test.cc
===================================================================
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);
More information about the Bf-blender-cvs
mailing list