Source

Fireplace / GLConfiguration.h

Full commit

/// FPWindowManager
#define VBOXCOMPAT 0 // virtualbox and xephyr compatibility
#define USE_TEXTURE_RECTANGLE 0
#define VSYNC 0

/// FPManagedWindow
#define SAFE_MODE 0
#define USE_GLX1_3 1
#define SWITCH_CONTEXTS 0 // doesn't help glXBindTexImage, but helps with glReadPixels

#if !SAFE_MODE
	#define HAVE_GL_COPY_TEX_IMAGE_2D 0
	#define FORCE_TEXTURE_2D 1
	#define USE_GLXBINDTEXIMAGE 1
#else
	#define HAVE_GL_COPY_TEX_IMAGE_2D 0
	#define FORCE_TEXTURE_2D 0
	#define USE_GLXBINDTEXIMAGE 0
	#undef USE_GLX1_3
	#define USE_GLX1_3 0
#endif