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

View File

@ -365,13 +365,6 @@ glx_init(session_t *ps, bool need_render) {
// Acquire function addresses // Acquire function addresses
if (need_render) { 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) psglx->glXBindTexImageProc = (f_BindTexImageEXT)
glXGetProcAddress((const GLubyte *) "glXBindTexImageEXT"); glXGetProcAddress((const GLubyte *) "glXBindTexImageEXT");
psglx->glXReleaseTexImageProc = (f_ReleaseTexImageEXT) psglx->glXReleaseTexImageProc = (f_ReleaseTexImageEXT)