Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/gpencil/gpencil_engine.h
| Context not available. | |||||
| if ((lvl > 0) && (fbl->multisample_fb != NULL) && (DRW_state_is_fbo())) { \ | if ((lvl > 0) && (fbl->multisample_fb != NULL) && (DRW_state_is_fbo())) { \ | ||||
| DRW_stats_query_start("GP Multisample Blit"); \ | DRW_stats_query_start("GP Multisample Blit"); \ | ||||
| GPU_framebuffer_bind(fbl->multisample_fb); \ | GPU_framebuffer_bind(fbl->multisample_fb); \ | ||||
| GPU_framebuffer_clear_color_depth(fbl->multisample_fb, (const float[4]){0.0f}, 1.0f); \ | GPU_framebuffer_clear_color_depth_stencil( \ | ||||
| fbl->multisample_fb, (const float[4]){0.0f}, 1.0f, 0x0); \ | |||||
| DRW_stats_query_end(); \ | DRW_stats_query_end(); \ | ||||
| } \ | } \ | ||||
| } \ | } \ | ||||
| Context not available. | |||||