aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pugl/pugl.h5
-rw-r--r--pugl/pugl_internal_types.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 1567b1f..b88392b 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -65,6 +65,11 @@ extern "C" {
typedef struct PuglViewImpl PuglView;
/**
+ Graphics backend interface.
+*/
+typedef struct PuglBackendImpl PuglBackend;
+
+/**
A native window handle.
On X11, this is a Window.
diff --git a/pugl/pugl_internal_types.h b/pugl/pugl_internal_types.h
index 4a1ba42..5f81f97 100644
--- a/pugl/pugl_internal_types.h
+++ b/pugl/pugl_internal_types.h
@@ -38,9 +38,6 @@
/** Platform-specific internals. */
typedef struct PuglInternalsImpl PuglInternals;
-/** Graphics backend interface. */
-typedef struct PuglBackendImpl PuglBackend;
-
typedef struct {
int context_version_major;
int context_version_minor;