Route canvas layer GL state through backend

This commit is contained in:
2026-06-04 22:28:49 +02:00
parent d55f26d637
commit 5aa07b2953
7 changed files with 186 additions and 16 deletions

View File

@@ -844,8 +844,9 @@ pp::foundation::Status copy_opengl_framebuffer_to_texture_2d(
return pp::foundation::Status::success();
}
const auto texture_target = copy.texture_target == 0U ? texture_2d_target() : copy.texture_target;
dispatch.copy_tex_sub_image_2d(
texture_2d_target(),
texture_target,
copy.level,
copy.destination_x,
copy.destination_y,