summaryrefslogtreecommitdiffstatsci
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2014-08-11 18:39:38 -0700
committerBryce Harrington <bryce@osg.samsung.com>2014-08-27 19:38:50 -0700
commit22c68ccd73b8285571ceb8d533276c25a9398f87 (patch)
treee4b5d09d840512cb637fc962f5039143de923b24
parent2ebffbe44dd1c2dbee16a17c90a66964f064ec41 (diff)
Fix header guards
-rw-r--r--src/glx.h6
-rw-r--r--src/image.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/glx.h b/src/glx.h
index b6af770..bad2383 100644
--- a/src/glx.h
+++ b/src/glx.h
@@ -4,8 +4,8 @@
* Use of this source code is governed by the 3-Clause BSD license
* specified in the COPYING file included with this source code.
*/
-#ifndef __EGL_H__ // -*- mode: c++ -*-
-#define __EGL_H__
+#ifndef __GLX_H__ // -*- mode: c++ -*-
+#define __GLX_H__
#include <X11/Xlib.h>
#include <GL/glx.h>
@@ -22,7 +22,7 @@ bool createGLXContextAndWindow(glx_state_t *state, int width, int height);
void destroyGLXContextAndWindow(glx_state_t *state);
void cleanup_state_glx(void *state);
-#endif // __EGL_H__
+#endif // __GLX_H__
/*
Local Variables:
mode:c++
diff --git a/src/image.h b/src/image.h
index a2f8601..d42ff4c 100644
--- a/src/image.h
+++ b/src/image.h
@@ -4,8 +4,8 @@
* Use of this source code is governed by the 3-Clause BSD license
* specified in the COPYING file included with this source code.
*/
-#ifndef __EGL_H__ // -*- mode: c++ -*-
-#define __EGL_H__
+#ifndef __IMAGE_H__ // -*- mode: c++ -*-
+#define __IMAGE_H__
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@@ -25,7 +25,7 @@ bool createImageWindow(image_state_t *state, const device_config_t& device_confi
void destroyImageWindow(image_state_t *state);
void updateImageWindow(image_state_t *state);
-#endif // __EGL_H__
+#endif // __IMAGE_H__
/*
Local Variables:
mode:c++