diff options
-rw-r--r-- | libvo/vo_gl.c | 2 | ||||
-rw-r--r-- | libvo/vo_gl2.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 4cd9bf2943..8fd08bdf0e 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -82,6 +82,8 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin image_height = height; image_width = width; + vo_dwidth = d_width; + vo_dheight = d_height; int_pause = 0; diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c index 12b5e51c5c..3abf0ed2f9 100644 --- a/libvo/vo_gl2.c +++ b/libvo/vo_gl2.c @@ -841,6 +841,8 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin image_height = height; image_width = width; + vo_dwidth = d_width; + vo_dheight = d_height; image_format = format; int_pause = 0; |