Commit: c505f19efe3f476e1164b455817ad275fa913454
Author: Julian Eisel
Date:   Fri Jul 15 16:52:01 2022 +0200
Branches: master
https://developer.blender.org/rBc505f19efe3f476e1164b455817ad275fa913454

Fix compiler error in debug builds after 1cf465bbc331

===================================================================

M       source/blender/gpu/intern/gpu_context.cc

===================================================================

diff --git a/source/blender/gpu/intern/gpu_context.cc 
b/source/blender/gpu/intern/gpu_context.cc
index 9b0670da8cb..5ae020e45a4 100644
--- a/source/blender/gpu/intern/gpu_context.cc
+++ b/source/blender/gpu/intern/gpu_context.cc
@@ -247,7 +247,7 @@ bool GPU_backend_init_once()
 
 void gpu_backend_delete_resources()
 {
-  BLI_assert(backend);
+  BLI_assert(g_backend);
   g_backend->delete_resources();
 }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to