Running gl_check_capability from gl_get_flags resulted in a crash

on some Android systems, so unfortunately we cannot selectively hide
away GPU Hard Sync for now
This commit is contained in:
twinaphex 2018-04-26 20:45:01 +02:00
parent 37b1c9e8e9
commit f1d707a043

View File

@ -2605,9 +2605,7 @@ static uint32_t gl_get_flags(void *data)
{
uint32_t flags = 0;
if (gl_check_capability(GL_CAPS_SYNC))
BIT32_SET(flags, GFX_CTX_FLAGS_HARD_SYNC);
BIT32_SET(flags, GFX_CTX_FLAGS_HARD_SYNC);
BIT32_SET(flags, GFX_CTX_FLAGS_BLACK_FRAME_INSERTION);
BIT32_SET(flags, GFX_CTX_FLAGS_MENU_FRAME_FILTERING);