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/intern/draw_manager.c | |
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/intern/draw_manager.c')
-rw-r--r-- | source/blender/draw/intern/draw_manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index d2a95f9b7b3..e6d51bce54e 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -2771,7 +2771,7 @@ void DRW_opengl_context_create(void) DST.gl_context = WM_opengl_context_create(); WM_opengl_context_activate(DST.gl_context); /* Be sure to create gpu_context too. */ - DST.gpu_context = GPU_context_create(0); + DST.gpu_context = GPU_context_create(NULL); /* So we activate the window's one afterwards. */ wm_window_reset_drawable(); } |