diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-12-20 20:28:12 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-12-20 21:05:47 +0300 |
commit | e3ef782af5d5255093d00cdc261d93dd3d8a5c40 (patch) | |
tree | 8c5d79b7988e418fc9565dfdd7177488df4da26b /source/blender/draw/DRW_engine.h | |
parent | 03a589125f95fe4a8e8b2bb915453e6b0a2446bb (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.h | 1 |
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, |