GPU: refactor clipped drawing from DRW into GPU
[blender.git] / source / blender / draw / engines / external / external_engine.c
index d7e290917aac4260fafcc62dd78db3c0449a07b0..d4930889449bf87ab822f75ccc224b693ae1df77 100644 (file)
@@ -91,7 +91,7 @@ static void external_engine_init(void *UNUSED(vedata))
 {
        /* Depth prepass */
        if (!e_data.depth_sh) {
-               e_data.depth_sh = DRW_shader_create_3D_depth_only(DRW_SHADER_SLOT_DEFAULT);
+               e_data.depth_sh = DRW_shader_create_3D_depth_only(GPU_SHADER_CFG_DEFAULT);
        }
 }