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:
authorClément Foucault <foucault.clem@gmail.com>2020-07-29 16:52:33 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-07-29 16:54:51 +0300
commit1804a6d040d2e0ababe546d1ba5d2ccb85c55903 (patch)
tree93b8f4259df6a839872419e764a118a824cc70a0 /source/blender
parent2d89cd7dd5b2345ca5cc36cb20edacb04ef90036 (diff)
GPUState: Fix compilation error on MSVC
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/gpu/intern/gpu_state.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_state.cc b/source/blender/gpu/intern/gpu_state.cc
index fc5eb5a87e3..d52da70be42 100644
--- a/source/blender/gpu/intern/gpu_state.cc
+++ b/source/blender/gpu/intern/gpu_state.cc
@@ -300,7 +300,8 @@ typedef struct {
} GPUAttrStack;
static GPUAttrStack state = {
- .top = 0,
+ {},
+ 0,
};
#define AttrStack state