diff options
author | Kevin Hartman <kevin@hart.mn> | 2014-08-30 07:23:12 +0200 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2014-11-18 13:06:05 +0100 |
commit | 221a9b023d8c9ca55c093823e9efd6d13d0a54a2 (patch) | |
tree | 57a26a0e11416b366688d00c4a2c9216fa0cde78 /src/citra/emu_window/emu_window_glfw.h | |
parent | Add a GUI logging channel. (diff) | |
download | yuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.tar yuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.tar.gz yuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.tar.bz2 yuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.tar.lz yuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.tar.xz yuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.tar.zst yuzu-221a9b023d8c9ca55c093823e9efd6d13d0a54a2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra/emu_window/emu_window_glfw.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/citra/emu_window/emu_window_glfw.h b/src/citra/emu_window/emu_window_glfw.h index 7c3072145..e96228765 100644 --- a/src/citra/emu_window/emu_window_glfw.h +++ b/src/citra/emu_window/emu_window_glfw.h @@ -21,7 +21,7 @@ public: /// Makes the graphics context current for the caller thread void MakeCurrent() override; - + /// Releases (dunno if this is the "right" word) the GLFW context from the caller thread void DoneCurrent() override; @@ -32,6 +32,9 @@ public: void ReloadSetKeymaps() override; + /// Gets the size of the window in pixels + void GetFramebufferSize(int* fbWidth, int* fbHeight); + private: GLFWwindow* m_render_window; ///< Internal GLFW render window |