win-capture: Remove game capture scaling

The performance save is not worth accidental usage support.

Also remove unnecessary copies from the shmem paths.
This commit is contained in:
jpark37
2020-06-22 15:07:07 -07:00
parent 0f27cf4983
commit 6393399758
16 changed files with 201 additions and 1329 deletions

View File

@@ -205,7 +205,7 @@ static uint32_t duplicator_capture_height(void *data)
static void draw_cursor(struct duplicator_capture *capture)
{
cursor_draw(&capture->cursor_data, -capture->x, -capture->y, 1.0f, 1.0f,
cursor_draw(&capture->cursor_data, -capture->x, -capture->y,
capture->rot % 180 == 0 ? capture->width : capture->height,
capture->rot % 180 == 0 ? capture->height : capture->width);
}