diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-04-05 13:57:32 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-04-10 13:36:32 +0300 |
commit | 0811d089b4b88ff553b6514771b1e324025e15ad (patch) | |
tree | 41173633f7068b79fc43837788ab6ae30c7122bf /source/blender/draw/engines | |
parent | fad3fe4ed1930fb0d874b9e01e7de768cbf9d0a1 (diff) |
Draw Manager: Use Texture flag in Framebuffer init.
Diffstat (limited to 'source/blender/draw/engines')
-rw-r--r-- | source/blender/draw/engines/clay/clay.c | 2 | ||||
-rw-r--r-- | source/blender/draw/engines/eevee/eevee.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/clay/clay.c b/source/blender/draw/engines/clay/clay.c index 23cfe82276f..2bed0327064 100644 --- a/source/blender/draw/engines/clay/clay.c +++ b/source/blender/draw/engines/clay/clay.c @@ -341,7 +341,7 @@ static void CLAY_engine_init(void *vedata) { float *viewport_size = DRW_viewport_size_get(); - DRWFboTexture tex = {&txl->depth_dup, DRW_BUF_DEPTH_24}; + DRWFboTexture tex = {&txl->depth_dup, DRW_BUF_DEPTH_24, 0}; DRW_framebuffer_init(&fbl->dupli_depth, (int)viewport_size[0], (int)viewport_size[1], &tex, 1); diff --git a/source/blender/draw/engines/eevee/eevee.c b/source/blender/draw/engines/eevee/eevee.c index d9b1ce596c6..7588ebede0c 100644 --- a/source/blender/draw/engines/eevee/eevee.c +++ b/source/blender/draw/engines/eevee/eevee.c @@ -58,7 +58,7 @@ static void EEVEE_engine_init(void *vedata) EEVEE_FramebufferList *fbl = ((EEVEE_Data *)vedata)->fbl; EEVEE_StorageList *stl = ((EEVEE_Data *)vedata)->stl; - DRWFboTexture tex = {&txl->color, DRW_BUF_RGBA_16}; + DRWFboTexture tex = {&txl->color, DRW_BUF_RGBA_16, DRW_TEX_FILTER}; float *viewport_size = DRW_viewport_size_get(); DRW_framebuffer_init(&fbl->main, |