GP: Missing change of texture format in previous commit
authorAntonioya <blendergit@gmail.com>
Thu, 13 Dec 2018 11:18:44 +0000 (12:18 +0100)
committerAntonioya <blendergit@gmail.com>
Thu, 13 Dec 2018 11:19:06 +0000 (12:19 +0100)
source/blender/draw/engines/gpencil/gpencil_render.c

index 8dc15472a20893d1e4ab905fa75e7faa901e4cd1..51a8209fbf2ce1ad77d8bd3ad73badf3a12b4429 100644 (file)
@@ -85,7 +85,7 @@ void GPENCIL_render_init(GPENCIL_Data *ved, RenderEngine *engine, struct Depsgra
        }
 
        vedata->render_depth_tx = DRW_texture_pool_query_2D(
-               size[0], size[1], GPU_DEPTH24_STENCIL8,
+               size[0], size[1], GPU_DEPTH_COMPONENT24,
                &draw_engine_gpencil_type);
        vedata->render_color_tx = DRW_texture_pool_query_2D(
                size[0], size[1], GPU_RGBA32F,