Fix segfault when switching monitors with kmsgrab
This commit is contained in:
parent
13d0106feb
commit
24403cdd25
4 changed files with 14 additions and 12 deletions
|
|
@ -22,10 +22,6 @@ extern "C" {
|
|||
|
||||
#define SUNSHINE_SHADERS_DIR SUNSHINE_ASSETS_DIR "/shaders/opengl"
|
||||
|
||||
#define STRINGIFY(x) #x
|
||||
#define gl_drain_errors_helper(x) gl::drain_errors("line " STRINGIFY(x))
|
||||
#define gl_drain_errors gl_drain_errors_helper(__LINE__)
|
||||
|
||||
using namespace std::literals;
|
||||
namespace gl {
|
||||
GladGLContext ctx;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue