projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
used a macro to remove all the code repetition in fg_callbacks.c
[freeglut]
/
src
/
x11
/
fg_init_x11.c
diff --git
a/src/x11/fg_init_x11.c
b/src/x11/fg_init_x11.c
index
45ac0d1
..
6cd6048
100644
(file)
--- a/
src/x11/fg_init_x11.c
+++ b/
src/x11/fg_init_x11.c
@@
-29,7
+29,9
@@
#define FREEGLUT_BUILDING_LIB
#include <limits.h> /* LONG_MAX */
#include <GL/freeglut.h>
#define FREEGLUT_BUILDING_LIB
#include <limits.h> /* LONG_MAX */
#include <GL/freeglut.h>
-#include "../fg_internal.h"
+#include "fg_internal.h"
+#include "fg_init.h"
+#include "egl/fg_init_egl.h"
/* Return the atom associated with "name". */
static Atom fghGetAtom(const char * name)
/* Return the atom associated with "name". */
static Atom fghGetAtom(const char * name)