Overlay: Remove call to legacy API

This commit is contained in:
Clément Foucault
2024-12-09 23:22:59 +01:00
parent b56b1ed6c1
commit 74a2b61fb5

View File

@@ -342,9 +342,6 @@ void Instance::end_sync()
DefaultFramebufferList *dfbl = DRW_viewport_framebuffer_list_get();
DefaultTextureList *dtxl = DRW_viewport_texture_list_get();
DRW_texture_ensure_fullscreen_2d(
&dtxl->depth_in_front, GPU_DEPTH24_STENCIL8, DRWTextureFlag(0));
if (dtxl->depth_in_front == nullptr) {
int2 size = int2(DRW_viewport_size_get()[0], DRW_viewport_size_get()[1]);