Overlay: Remove call to legacy API
This commit is contained in:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user