aboutsummaryrefslogtreecommitdiff
path: root/src/capture
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-03-13 01:50:36 +0100
committerdec05eba <dec05eba@protonmail.com>2025-03-13 01:50:36 +0100
commitf63409bdd758b80f3a4e414fd5cb5526e384c93a (patch)
tree69053d1239a0f1d4b8d3f6e4b09a0e9ce1b6cecb /src/capture
parentaf5468410376f6b8cb3a0c6e3fb46636e03299f8 (diff)
nvfbc region capture work
Diffstat (limited to 'src/capture')
-rw-r--r--src/capture/nvfbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/capture/nvfbc.c b/src/capture/nvfbc.c
index 5b59806..a0c8d29 100644
--- a/src/capture/nvfbc.c
+++ b/src/capture/nvfbc.c
@@ -401,7 +401,7 @@ static int gsr_capture_nvfbc_capture(gsr_capture *cap, gsr_capture_metadata *cap
gsr_color_conversion_draw(color_conversion, self->setup_params.dwTextures[grab_params.dwTextureIndex],
target_pos, (vec2i){output_size.x, output_size.y},
- (vec2i){0, 0}, frame_size,
+ self->params.region_position, frame_size,
0.0f, false, GSR_SOURCE_COLOR_BGR);
self->params.egl->glFlush();