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:
authorJeroen Bakker <jeroen@blender.org>2021-08-10 08:57:41 +0300
committerJeroen Bakker <jeroen@blender.org>2021-08-10 08:57:41 +0300
commit692e926b1876aeb0aa789f5fa21caf525da1690e (patch)
tree8ff49c66c1cd6189c967510281176ab06eded061 /source/blender/gpu
parent49ea8e4fea61bd8e7c205e5edc8d0e06e6d4049e (diff)
Silensed compilation warning in gpu test case.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/tests/gpu_shader_test.cc2
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);