[opengl] glxWaitVideoSyncSGI is not well supported in Mesa 18

It seems Mesa 18 has problems with the glxWaitVideoSyncSGI API so
we disable the 'preventBuffer' option by default
This commit is contained in:
Geoffrey McRae 2018-05-15 09:54:24 +10:00
parent fd8d4d3d38
commit ae382949c8

View File

@ -54,7 +54,7 @@ static struct Options defaultOptions =
{
.mipmap = true,
.vsync = true,
.preventBuffer = true,
.preventBuffer = false,
};
struct Inst
@ -485,7 +485,7 @@ static LG_RendererOpt opengl_options[] =
},
{
.name = "preventBuffer",
.desc = "Prevent the driver from buffering frames [default: enabled]",
.desc = "Prevent the driver from buffering frames [default: disabled]",
.validator = LG_RendererValidatorBool,
.handler = handle_opt_prevent_buffer
}