mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Stop render when iconified
This commit is contained in:
parent
837fd2f32f
commit
a1e3706c8f
3 changed files with 14 additions and 3 deletions
|
|
@ -50,6 +50,10 @@ bool Window::isMaximized() {
|
|||
return glfwGetWindowAttrib(window, GLFW_MAXIMIZED);
|
||||
}
|
||||
|
||||
bool Window::isIconified() {
|
||||
return glfwGetWindowAttrib(window, GLFW_ICONIFIED);
|
||||
}
|
||||
|
||||
bool Window::isFocused()
|
||||
{
|
||||
return glfwGetWindowAttrib(window, GLFW_FOCUSED);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue