Route canvas layer GL state through backend
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user