From 2bb0cbaf6b216fa8e4c64f8c54cd99568ff8da84 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sat, 18 Feb 2023 13:10:43 +0100 Subject: [PATCH] source/Graphics/Graphics.cpp: implement getDriver() --- source/Graphics/Graphics.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/Graphics/Graphics.cpp b/source/Graphics/Graphics.cpp index ece6e87..641a25c 100644 --- a/source/Graphics/Graphics.cpp +++ b/source/Graphics/Graphics.cpp @@ -79,6 +79,11 @@ void Graphics::swapBuffers() m_display->swapBuffers(); } +GfxDriver* Graphics::getDriver() +{ + return m_gfxdrv; +} + Display* Graphics::getDisplay() { return m_display;