diff options
author | Andrey Nazarov <skuller@skuller.net> | 2012-05-20 20:20:48 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2012-05-20 20:20:48 +0400 |
commit | d953ad0a6285ce78bb82dec05597c94c0f7a77a5 (patch) | |
tree | 91b6c79f52587fb50a50f550ee98df908d05b85b /src/files.c | |
parent | bbbbfbc2dac840d04ab8adace48422d8c3d499b2 (diff) |
Use WGL_ARB_extensions_string if available.
Some OpenGL implementations (notably Intel on Windows 7 and Wine on
Linux) no longer export WGL_EXT_swap_control in GL_EXTENSIONS. Try to
get WGL extensions string via wglGetExtensionsStringARB, and fall back
to glGetString(GL_EXTENSIONS) for legacy drivers.
Diffstat (limited to 'src/files.c')
0 files changed, 0 insertions, 0 deletions