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:
authorJeroen Bakker <jbakker>2020-03-19 10:00:05 +0300
committerJeroen Bakker <jeroen@blender.org>2020-03-19 10:03:40 +0300
commitfe045b2b77dc6d7f0b552619fe824b496d34db6c (patch)
tree0dc9a5ac2b196e988a00bd83b372d7510db730ae /source/blender/windowmanager/wm_draw.h
parentd68d1da1f312b0f726b4ae7a3e49de2220503158 (diff)
WindowManager: Remove Stereo Offscreen
Stereo offscreen rendering has been replaced with stereo viewport rendering. When an offscreen buffer is used it is only used for mono rendering. This patch will remove the second offscreen buffer. Reviewed By: fclem Differential Revision: https://developer.blender.org/D7153
Diffstat (limited to 'source/blender/windowmanager/wm_draw.h')
-rw-r--r--source/blender/windowmanager/wm_draw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/wm_draw.h b/source/blender/windowmanager/wm_draw.h
index 4a62558bf91..4ebf2c820cd 100644
--- a/source/blender/windowmanager/wm_draw.h
+++ b/source/blender/windowmanager/wm_draw.h
@@ -31,7 +31,7 @@ struct GPUTexture;
struct GPUViewport;
typedef struct wmDrawBuffer {
- struct GPUOffScreen *offscreen[2];
+ struct GPUOffScreen *offscreen;
struct GPUViewport *viewport[2];
bool stereo;
int bound_view;