diff options
author | Campbell Barton <campbell@blender.org> | 2022-07-16 09:12:48 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-07-16 09:12:48 +0300 |
commit | bf49e6040caac1e975982375731c348a1fcb11c1 (patch) | |
tree | 7a713d0f21b5f6f9333f97b433d8fbaab40bfd71 /source/blender/gpu | |
parent | b9854372832ac43978f6d999891944dbb7f2e752 (diff) |
Fix error in assertion after 92a99c14965905e73f049bc1f92b597a903977fc
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_context.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_context.cc b/source/blender/gpu/intern/gpu_context.cc index 20d9208a199..e29b0d5801d 100644 --- a/source/blender/gpu/intern/gpu_context.cc +++ b/source/blender/gpu/intern/gpu_context.cc @@ -239,7 +239,7 @@ bool GPU_backend_supported(void) static void gpu_backend_create() { BLI_assert(g_backend == nullptr); - BLI_assert(GPU_backend_supported(g_backend_type)); + BLI_assert(GPU_backend_supported()); switch (g_backend_type) { #ifdef WITH_OPENGL_BACKEND |