diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-05-26 00:52:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-26 00:52:11 +0200 |
commit | 23eccc943973e32a0c0bb367a4b2ba19d8e54030 (patch) | |
tree | 1bedf83ae85b51c5321d5f1d8bec4be311812152 /src/libui_sdl/libui/unix/uipriv_unix.h | |
parent | 99dbbb0b0464d91ed07ffd67c0b6ef83bc6a293e (diff) | |
parent | ebad773a3881f31ab668cc0cbea89cc34f5cd2b7 (diff) |
Merge pull request #412 from PoroCYon/master
Make OpenGL renderer work on Linux
Diffstat (limited to 'src/libui_sdl/libui/unix/uipriv_unix.h')
-rw-r--r-- | src/libui_sdl/libui/unix/uipriv_unix.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libui_sdl/libui/unix/uipriv_unix.h b/src/libui_sdl/libui/unix/uipriv_unix.h index 33ff1e3..42d5d76 100644 --- a/src/libui_sdl/libui/unix/uipriv_unix.h +++ b/src/libui_sdl/libui/unix/uipriv_unix.h @@ -5,7 +5,7 @@ #define GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_10 #include <gtk/gtk.h> #include <math.h> -#include <dlfcn.h> // see drawtext.c +#include <dlfcn.h> // see drawtext.c, gl.c #include <langinfo.h> #include <string.h> #include <stdlib.h> @@ -63,3 +63,7 @@ extern GtkCellRenderer *newCellRendererButton(void); extern void loadFutures(void); extern PangoAttribute *FUTURE_pango_attr_foreground_alpha_new(guint16 alpha); extern gboolean FUTURE_gtk_widget_path_iter_set_object_name(GtkWidgetPath *path, gint pos, const char *name); + +// gl.c +extern uiGLContext *createGLContext(GtkGLArea* gla, int maj, int min); + |