diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-09-15 10:28:35 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-09-15 10:29:58 +0300 |
commit | ac58663decabb25600862e7345377efe2da1ee92 (patch) | |
tree | ab9e1d6229eb721d96dcd7053557a147c0b38ff1 /source/blender/makesdna/DNA_image_types.h | |
parent | 91e32bff90866acbfceda3b96a3462a55f7ccb71 (diff) |
Fix T80776: Cannot switch between Slots of Render Result
Introduced by D8234. Added active render slot to determine if the GPUTexture is still up to date.
Diffstat (limited to 'source/blender/makesdna/DNA_image_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_image_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_image_types.h b/source/blender/makesdna/DNA_image_types.h index 4a05d7ba319..6e0e3d6d6b7 100644 --- a/source/blender/makesdna/DNA_image_types.h +++ b/source/blender/makesdna/DNA_image_types.h @@ -151,7 +151,8 @@ typedef struct Image { short gpuflag; short gpu_pass; short gpu_layer; - char _pad2[6]; + short gpu_slot; + char _pad2[4]; /** Deprecated. */ struct PackedFile *packedfile DNA_DEPRECATED; |