Remove some unused macros/ifdefs
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
eadb09ee0d
commit
0be3fb5ea2
14
src/common.h
14
src/common.h
|
@ -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
|
||||
*/
|
||||
///@{
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue