Skip to content

Commit

Permalink
Bug fix: Compilation failure with NO_VSYNC_OPENGL=1
Browse files Browse the repository at this point in the history
Fix compilation failure with NO_VSYNC_OPENGL=1, caused by one
incorrectly placed "#endif" in "src/common.h".
  • Loading branch information
richardgv committed Jan 11, 2015
1 parent e2540f7 commit 03ebae4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@
#include <dbus/dbus.h>
#endif

// libGL
#ifdef CONFIG_VSYNC_OPENGL

// libGL
#if defined(CONFIG_VSYNC_OPENGL_GLSL) || defined(CONFIG_VSYNC_OPENGL_FBO)
#define GL_GLEXT_PROTOTYPES
#endif
Expand All @@ -145,6 +146,8 @@
#define GLX_BACK_BUFFER_AGE_EXT 0x20F4
#endif

#endif

// === Macros ===

#define MSTR_(s) #s
Expand Down Expand Up @@ -2485,8 +2488,6 @@ c2_matchd(session_t *ps, win *w, const c2_lptr_t *condlst,

///@}

#endif

/**
* @brief Dump the given data to a file.
*/
Expand Down

0 comments on commit 03ebae4

Please sign in to comment.