1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-11 13:51:02 -05:00

Remove some unused macros/ifdefs

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-02-02 22:19:15 +00:00
parent eadb09ee0d
commit 0be3fb5ea2
No known key found for this signature in database
GPG key ID: 37C999F617EA1A47
2 changed files with 1 additions and 20 deletions

View file

@ -21,10 +21,7 @@
// #define DEBUG_RESTACK 1
// #define DEBUG_WINMATCH 1
// #define DEBUG_C2 1
// #define DEBUG_GLX 1
// #define DEBUG_GLX_GLSL 1
// #define DEBUG_GLX_ERR 1
// #define DEBUG_GLX_PAINTREG 1
// #define DEBUG_GLX_DEBUG_CONTEXT 1
#define MAX_ALPHA (255)
@ -992,15 +989,6 @@ vsync_init(session_t *ps);
void
vsync_deinit(session_t *ps);
#ifdef CONFIG_OPENGL
/** @name GLX
*/
///@{
#endif
///@}
/** @name DBus handling
*/
///@{

View file

@ -365,13 +365,6 @@ glx_init(session_t *ps, bool need_render) {
// Acquire function addresses
if (need_render) {
#ifdef DEBUG_GLX_MARK
psglx->glStringMarkerGREMEDY = (f_StringMarkerGREMEDY)
glXGetProcAddress((const GLubyte *) "glStringMarkerGREMEDY");
psglx->glFrameTerminatorGREMEDY = (f_FrameTerminatorGREMEDY)
glXGetProcAddress((const GLubyte *) "glFrameTerminatorGREMEDY");
#endif
psglx->glXBindTexImageProc = (f_BindTexImageEXT)
glXGetProcAddress((const GLubyte *) "glXBindTexImageEXT");
psglx->glXReleaseTexImageProc = (f_ReleaseTexImageEXT)