Chromium Code Reviews
DescriptionOzone Demo: Fix NOTREACHED assert when SwapBuffersAsync is not supported
Currently, the ozone demo may raise the following assertion on some
platforms (e.g. X11) when SwapBuffersAsync is called in gl_renderer or
surfaceless_gl_renderer:
ERROR:gl_surface.cc(75) NOTREACHED() hit.
A verification is added in this CL to ensure that SwapBuffersAsync is
supported and otherwise terminate the program with a fatal error.
R=rjkroege@chromium.org
BUG=None
Committed: https://crrev.com/0054fa9f56bab60b5a7e411a84ee454d6b9a38fe
Cr-Commit-Position: refs/heads/master@{#420036}
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|
|||||||||||||||||||