From 657a30d29edbf28c2d12788114c988156cfd6996 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 27 Jul 2019 00:42:45 +0200 Subject: Expose PuglBackend type --- pugl/pugl.h | 5 +++++ pugl/pugl_internal_types.h | 3 --- 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 @@ -64,6 +64,11 @@ extern "C" { */ typedef struct PuglViewImpl PuglView; +/** + Graphics backend interface. +*/ +typedef struct PuglBackendImpl PuglBackend; + /** A native window handle. 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; -- cgit v1.2.1