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:
authorCampbell Barton <campbell@blender.org>2022-07-16 09:12:48 +0300
committerCampbell Barton <campbell@blender.org>2022-07-16 09:12:48 +0300
commitbf49e6040caac1e975982375731c348a1fcb11c1 (patch)
tree7a713d0f21b5f6f9333f97b433d8fbaab40bfd71 /source/blender/gpu/intern/gpu_context.cc
parentb9854372832ac43978f6d999891944dbb7f2e752 (diff)
Fix error in assertion after 92a99c14965905e73f049bc1f92b597a903977fc
Diffstat (limited to 'source/blender/gpu/intern/gpu_context.cc')
-rw-r--r--source/blender/gpu/intern/gpu_context.cc2
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