added optional finish call

This commit is contained in:
Magnus Auvinen 2008-04-05 13:04:43 +00:00
parent 8df857166a
commit f713ad2028
2 changed files with 5 additions and 0 deletions

View file

@ -650,6 +650,9 @@ void gfx_swap()
glfwSwapBuffers();
perf_end();
}
if(config.gfx_finish)
glFinish();
/*
if(inp_key_pressed('P'))

View file

@ -43,6 +43,8 @@ MACRO_CONFIG_INT(gfx_texture_quality, 1, 0, 1)
MACRO_CONFIG_INT(gfx_fsaa_samples, 0, 0, 16)
MACRO_CONFIG_INT(gfx_refresh_rate, 0, 0, 0)
MACRO_CONFIG_INT(gfx_debug_resizable, 0, 0, 0)
MACRO_CONFIG_INT(gfx_finish, 1, 0, 1)
MACRO_CONFIG_INT(inp_mousesens, 100, 5, 100000)