diff options
| author | JMC47 <JMC4789@gmail.com> | 2022-06-06 20:18:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-06 20:18:06 -0400 |
| commit | daf8e3dddef12016df0d1641c223810c0d128979 (patch) | |
| tree | 1da934844e8a45f79cdd7a1b86965df08c07a30b /Source/Core/Common/GL/GLInterface/GLX.cpp | |
| parent | 86fc13ff8675afdb07494a1128913eb6c8715072 (diff) | |
| parent | 2648837d8c173c23af515f5804ca2db9b20950a9 (diff) | |
Merge pull request #10462 from OatmealDome/steam-runtime
DolphinQt: Add support for a Steam Runtime build
Diffstat (limited to 'Source/Core/Common/GL/GLInterface/GLX.cpp')
| -rw-r--r-- | Source/Core/Common/GL/GLInterface/GLX.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/GL/GLInterface/GLX.cpp b/Source/Core/Common/GL/GLInterface/GLX.cpp index 930994a992..b04296d096 100644 --- a/Source/Core/Common/GL/GLInterface/GLX.cpp +++ b/Source/Core/Common/GL/GLInterface/GLX.cpp @@ -13,7 +13,11 @@ typedef GLXContext (*PFNGLXCREATECONTEXTATTRIBSPROC)(Display*, GLXFBConfig, GLXContext, Bool, const int*); + +#ifndef GLX_EXT_swap_control typedef void (*PFNGLXSWAPINTERVALEXTPROC)(Display*, GLXDrawable, int); +#endif + typedef int (*PFNGLXSWAPINTERVALMESAPROC)(unsigned int); static PFNGLXCREATECONTEXTATTRIBSPROC glXCreateContextAttribs = nullptr; |
