diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-08 04:19:15 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-08 05:15:50 +0300 |
commit | a30ad3634d2ed489d0c285b2ea77bc1c69e23826 (patch) | |
tree | 13edf3c7e577ac98d542da0ee519c4e2529af822 /source/blender/draw/tests | |
parent | ccc512cc619dc9f0e6fd79270a7a96ece34d23b5 (diff) |
Cleanup: DRW: Replace 0 by NULL in GPU_context_create calls
This was left from a previous refactor.
Diffstat (limited to 'source/blender/draw/tests')
-rw-r--r-- | source/blender/draw/tests/shaders_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/tests/shaders_test.cc b/source/blender/draw/tests/shaders_test.cc index a3a0b792a24..b82746e4609 100644 --- a/source/blender/draw/tests/shaders_test.cc +++ b/source/blender/draw/tests/shaders_test.cc @@ -27,7 +27,7 @@ class DrawTest : public ::testing::Test { GHOST_GLSettings glSettings = {0}; ghost_system = GHOST_CreateSystem(); ghost_context = GHOST_CreateOpenGLContext(ghost_system, glSettings); - context = GPU_context_create(0); + context = GPU_context_create(NULL); GPU_init(); DRW_draw_state_init_gtests(GPU_SHADER_CFG_DEFAULT); } |