diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-07-29 16:52:33 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-07-29 16:54:51 +0300 |
commit | 1804a6d040d2e0ababe546d1ba5d2ccb85c55903 (patch) | |
tree | 93b8f4259df6a839872419e764a118a824cc70a0 /source/blender/gpu | |
parent | 2d89cd7dd5b2345ca5cc36cb20edacb04ef90036 (diff) |
GPUState: Fix compilation error on MSVC
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_state.cc | 3 |
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 |