aboutsummaryrefslogtreecommitdiffhomepage
path: root/osdep/terminal-win.c
diff options
context:
space:
mode:
authorGravatar James Ross-Gowan <rossymiles@gmail.com>2016-07-04 21:38:36 +1000
committerGravatar James Ross-Gowan <rossymiles@gmail.com>2016-07-04 22:04:37 +1000
commit6a3da439cda7c9075fbca2fcffeb8a28f5149f5d (patch)
treee0c8609a3b1d71944e95a5a654c5d9fadf7efb3d /osdep/terminal-win.c
parentf98e1b0b966d11b50df79d04dbab54ca20a08319 (diff)
vo_opengl: angle: update the swapchain on resize
This uses eglPostSubBufferNV to trigger ANGLE to check the window size and update the size of the swapchain to match, which is recommended here: https://groups.google.com/d/msg/angleproject/RvyVkjRCQGU/gfKfT64IAgAJ With the D3D11 backend, using eglPostSubBufferNV with a 0-sized update region will even skip the Present() call, meaning it won't block for a vsync period. Hopefully ANGLE will have a less hacky way of doing this in future. See the relevant ANGLE issue: http://anglebug.com/1438 Fixes #3301
Diffstat (limited to 'osdep/terminal-win.c')
0 files changed, 0 insertions, 0 deletions