diff options
author | Richard Grenville <pyxlcy@gmail.com> | 2015-01-11 10:47:19 +0800 |
---|---|---|
committer | Richard Grenville <pyxlcy@gmail.com> | 2015-01-11 10:47:19 +0800 |
commit | 65bc49312cf8e75bf5ae3290eef40a2ebe712e9c (patch) | |
tree | eb4beb48e0cf63eb64a9c577529df3a2a1f26dc2 | |
parent | 2dff937b31aa3753dca28fdda741be5d1da25088 (diff) | |
download | tdebase-65bc49312cf8e75bf5ae3290eef40a2ebe712e9c.tar.gz tdebase-65bc49312cf8e75bf5ae3290eef40a2ebe712e9c.zip |
Bug fix: Compilation failure with NO_VSYNC_OPENGL=1
Fix compilation failure with NO_VSYNC_OPENGL=1, caused by one
incorrectly placed "#endif" in "src/common.h".
-rw-r--r-- | common.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 @@ -145,6 +146,8 @@ #define GLX_BACK_BUFFER_AGE_EXT 0x20F4 #endif +#endif + // === Macros === #define MSTR_(s) #s @@ -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. */ |