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:
authorDalai Felinto <dfelinto@gmail.com>2017-12-20 20:28:12 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-12-20 21:05:47 +0300
commite3ef782af5d5255093d00cdc261d93dd3d8a5c40 (patch)
tree8c5d79b7988e418fc9565dfdd7177488df4da26b /source/blender/draw/DRW_engine.h
parent03a589125f95fe4a8e8b2bb915453e6b0a2446bb (diff)
Fix for T53599: OpenGL render with transparent background
I had to make Eevee draw its scene in the scene pass (before it was doing it in the background pass). This is not ideal since reference images require a separation between scene and background. But it's the best way to solve it now. Clay is working fine.
Diffstat (limited to 'source/blender/draw/DRW_engine.h')
-rw-r--r--source/blender/draw/DRW_engine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/DRW_engine.h b/source/blender/draw/DRW_engine.h
index ba0f8681f10..7efd9639874 100644
--- a/source/blender/draw/DRW_engine.h
+++ b/source/blender/draw/DRW_engine.h
@@ -95,6 +95,7 @@ void DRW_draw_render_loop_offscreen(
struct Depsgraph *graph,
struct RenderEngineType *engine_type,
struct ARegion *ar, struct View3D *v3d,
+ const bool draw_background,
struct GPUOffScreen *ofs);
void DRW_draw_select_loop(
struct Depsgraph *graph,