aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graphics/Base.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/platform/graphics/Base.h')
-rw-r--r--include/cru/platform/graphics/Base.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cru/platform/graphics/Base.h b/include/cru/platform/graphics/Base.h
index c3381394..7f12dbef 100644
--- a/include/cru/platform/graphics/Base.h
+++ b/include/cru/platform/graphics/Base.h
@@ -32,4 +32,8 @@ struct TextHitTestResult {
bool trailing;
bool inside_text;
};
+
+struct CRU_PLATFORM_GRAPHICS_API IGraphicsResource : virtual IPlatformResource {
+ virtual IGraphicsFactory* GetGraphicsFactory() = 0;
+};
} // namespace cru::platform::graphics