fix opengl renderer on older hardware
This commit is contained in:
parent
57287686db
commit
b57ec635fc
2 changed files with 15 additions and 5 deletions
|
@ -111,6 +111,8 @@ DWORD WINAPI ogl_render_main(void)
|
|||
{
|
||||
GL_CHECK(oglu_init());
|
||||
|
||||
g_ogl.got_error = g_ogl.got_error || (err = glGetError()) != GL_NO_ERROR;
|
||||
|
||||
BOOL got_swap_ctrl;
|
||||
GL_CHECK(got_swap_ctrl = oglu_ext_exists("WGL_EXT_swap_control", g_ogl.hdc));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue