[Bf-blender-cvs] [23bb42a06e2] blender-v2.83-release: Cleanup: accidental value declaration with struct type
Campbell Barton
noreply at git.blender.org
Mon Apr 20 04:12:53 CEST 2020
Commit: 23bb42a06e283c154ccf2048e0d3880abdd3af3f
Author: Campbell Barton
Date: Mon Apr 20 12:02:45 2020 +1000
Branches: blender-v2.83-release
https://developer.blender.org/rB23bb42a06e283c154ccf2048e0d3880abdd3af3f
Cleanup: accidental value declaration with struct type
===================================================================
M source/blender/gpu/intern/gpu_viewport.c
===================================================================
diff --git a/source/blender/gpu/intern/gpu_viewport.c b/source/blender/gpu/intern/gpu_viewport.c
index ed825db26ac..496e8981f2b 100644
--- a/source/blender/gpu/intern/gpu_viewport.c
+++ b/source/blender/gpu/intern/gpu_viewport.c
@@ -74,7 +74,7 @@ struct GPUViewportBatch {
rctf rect_pos;
rctf rect_uv;
} last_used_parameters;
-} GPUViewportBatch;
+};
static struct {
GPUVertFormat format;
More information about the Bf-blender-cvs
mailing list