mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
added optional finish call
This commit is contained in:
parent
8df857166a
commit
f713ad2028
|
@ -650,6 +650,9 @@ void gfx_swap()
|
|||
glfwSwapBuffers();
|
||||
perf_end();
|
||||
}
|
||||
|
||||
if(config.gfx_finish)
|
||||
glFinish();
|
||||
|
||||
/*
|
||||
if(inp_key_pressed('P'))
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue