Route RTT texture updates through GL backend
This commit is contained in:
@@ -832,6 +832,8 @@ pp::foundation::Status update_opengl_texture_2d(
|
||||
}
|
||||
|
||||
if (update.texture_id == 0U
|
||||
|| update.x < 0
|
||||
|| update.y < 0
|
||||
|| update.width <= 0
|
||||
|| update.height <= 0
|
||||
|| update.pixel_format == 0U
|
||||
@@ -844,8 +846,8 @@ pp::foundation::Status update_opengl_texture_2d(
|
||||
dispatch.tex_sub_image_2d(
|
||||
texture_2d_target(),
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
update.x,
|
||||
update.y,
|
||||
update.width,
|
||||
update.height,
|
||||
update.pixel_format,
|
||||
|
||||
Reference in New Issue
Block a user