diff options
author | wm4 <wm4@nowhere> | 2014-11-07 15:28:12 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-07 15:28:12 +0100 |
commit | 01141198be2beaec58928355b59ce5882027866e (patch) | |
tree | 0ee4ba73c31466dfe391daced581c99eb195ee0d /audio/out/ao_pulse.c | |
parent | 351608e5ccb9314684d10bedf9025b1e872641e9 (diff) | |
download | mpv-01141198be2beaec58928355b59ce5882027866e.tar.bz2 mpv-01141198be2beaec58928355b59ce5882027866e.tar.xz |
vo_opengl: initialize renderer after setting size
This silences the warning:
video/out/gl_video.c:1091:51: runtime error: division by zero
when running with clang -fsanitize=undefined. Division by zero is legal
according to IEEE, but I guess clang doesn't care about standard. While
triggering this warning isn't actually avoided in all cases, it's
avoided in the common case and also makes people shut up about it.
Diffstat (limited to 'audio/out/ao_pulse.c')
0 files changed, 0 insertions, 0 deletions