diff options
Diffstat (limited to 'libvo/vo_opengl_old.c')
-rw-r--r-- | libvo/vo_opengl_old.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libvo/vo_opengl_old.c b/libvo/vo_opengl_old.c index 4823576290..d68ea3c5d5 100644 --- a/libvo/vo_opengl_old.c +++ b/libvo/vo_opengl_old.c @@ -822,11 +822,10 @@ static mp_image_t *get_screenshot(struct vo *vo) gl->ActiveTexture(GL_TEXTURE0); } - image->width = p->image_width; - image->height = p->image_height; - - image->w = vo->aspdat.prew; - image->h = vo->aspdat.preh; + image->w = p->image_width; + image->h = p->image_height; + image->display_w = vo->aspdat.prew; + image->display_h = vo->aspdat.preh; mp_image_set_colorspace_details(image, &p->colorspace); |