aboutsummaryrefslogtreecommitdiff
path: root/Gem/develop
diff options
context:
space:
mode:
authorTravis CI <zmoelnig@travis-ci.umlaeute.mur.at>2019-01-04 23:38:14 +0000
committerTravis CI <zmoelnig@travis-ci.umlaeute.mur.at>2019-01-04 23:38:14 +0000
commit10e0ea9c068eafece15df32d2dfa185ced5bd938 (patch)
treee9807f2f320d9ecce4fbd205178084f0a749c0fd /Gem/develop
parentf5b2971645e7e0e69aa05f3fa0324db181b25e3b (diff)
Gem 8553d055b0a39acf02d31d8ae8cb6a0a2f732ef0 osx/x86_64
built 'master:8553d055b0a39acf02d31d8ae8cb6a0a2f732ef0' for osx/x86_64
Diffstat (limited to 'Gem/develop')
-rw-r--r--Gem/develop/include/Gem/Gem/GemGL.h6
-rw-r--r--Gem/develop/include/Gem/Gem/GemGLconfig.h7
-rw-r--r--Gem/develop/include/Gem/Gem/Manager.h7
3 files changed, 15 insertions, 5 deletions
diff --git a/Gem/develop/include/Gem/Gem/GemGL.h b/Gem/develop/include/Gem/Gem/GemGL.h
index 797e889..a009928 100644
--- a/Gem/develop/include/Gem/Gem/GemGL.h
+++ b/Gem/develop/include/Gem/Gem/GemGL.h
@@ -26,8 +26,10 @@
# include <windows.h>
#endif
-#ifdef GLEW_MX
-# define GEM_MULTICONTEXT
+#include "Gem/GemGLconfig.h"
+
+#ifdef GEM_MULTICONTEXT
+# define GLEW_MX
#endif
#include "Gem/glew.h"
diff --git a/Gem/develop/include/Gem/Gem/GemGLconfig.h b/Gem/develop/include/Gem/Gem/GemGLconfig.h
new file mode 100644
index 0000000..2165eb6
--- /dev/null
+++ b/Gem/develop/include/Gem/Gem/GemGLconfig.h
@@ -0,0 +1,7 @@
+/* src/Gem/GemGLconfig.h. Generated from GemGLconfig.h.in by configure. */
+
+/* Define to 1 if Gem is built with multi-context support */
+#define GEM_MULTICONTEXT 1
+
+/* Define to 1 if using the built-in GLEW */
+#define GLEW_BUILD 1
diff --git a/Gem/develop/include/Gem/Gem/Manager.h b/Gem/develop/include/Gem/Gem/Manager.h
index cbca8ba..48abce7 100644
--- a/Gem/develop/include/Gem/Gem/Manager.h
+++ b/Gem/develop/include/Gem/Gem/Manager.h
@@ -68,7 +68,7 @@ public:
//////////
// is there a context (has its meaning under X)
- static void createContext(char* disp);
+ static void createContext(const char* disp);
static int contextExists(void);
//////////
@@ -98,7 +98,7 @@ public:
//////////
// Create the window with the current parameters
- static int createWindow(char* disp = 0);
+ static int createWindow(const char* disp = 0);
//////////
// Destroy the window
@@ -123,6 +123,7 @@ public:
static void getDimen(int*width, int*height);
static void getRealDimen(int*width, int*height);
static void getOffset(int*x, int*y);
+ static void setDimen(int width, int height);
//////////
// Turn on/off lighting
@@ -219,7 +220,7 @@ private:
// This window is always available (although not visible)
static WindowInfo &getConstWindowInfo(void);
#endif /* GEM_MULTICONTEXT */
- static int createConstWindow(char* disp = 0);
+ static int createConstWindow(const char* disp = 0);
// gemwin is allowed to modifying "global" window attributes
friend class gemwin;