diff options
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/RasterFont.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/RasterFont.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/RasterFont.cpp b/Source/Core/VideoBackends/Vulkan/RasterFont.cpp index 689c0a8195..def32e5050 100644 --- a/Source/Core/VideoBackends/Vulkan/RasterFont.cpp +++ b/Source/Core/VideoBackends/Vulkan/RasterFont.cpp @@ -175,6 +175,11 @@ RasterFont::~RasterFont() vkDestroyShaderModule(g_vulkan_context->GetDevice(), m_fragment_shader, nullptr); } +const Texture2D* RasterFont::GetTexture() const +{ + return m_texture.get(); +} + bool RasterFont::Initialize() { // Create shaders and texture |
