Léo Lam aaaa3896c0
VideoCommon: Get rid of the global g_available_video_backends
Replace it with a function-local static that is initialized on first
use. This gets rid of a global variable and removes the need for
manual initialization in UICommon.

This commit also replaces the weird find_if that looks for a non-null
unique_ptr with a simple "is vector empty" check considering that
none of the pointers can be null by construction.
2020-10-21 22:00:10 +02:00
..
2018-07-07 00:48:38 +02:00
2020-08-22 17:22:07 -07:00
2019-11-11 11:47:10 +01:00
2018-07-07 00:48:38 +02:00
2020-08-22 17:22:07 -07:00
2019-04-05 07:01:03 -04:00
2020-09-21 17:27:10 +02:00
2018-07-07 00:48:38 +02:00
2018-07-07 00:48:38 +02:00
2020-05-03 20:48:30 +04:00
2019-02-25 20:15:12 +00:00
2020-06-02 22:24:49 +02:00
2018-07-07 00:48:38 +02:00
2018-07-07 00:48:38 +02:00
2018-07-07 00:48:38 +02:00