MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ mark_window_destroyed()

static void MayaFlux::Core::GLFWSingleton::mark_window_destroyed ( )
inlinestatic

Decrements the count of active GLFW windows.

Should be called whenever a GLFW window is destroyed. Ensures the window count does not go below zero.

Definition at line 67 of file GlfwSingleton.hpp.

68 {
69 if (s_window_count > 0)
71 }
static uint32_t s_window_count
Number of currently active GLFW windows.

References s_window_count.

Referenced by MayaFlux::Core::GlfwWindow::operator=(), and MayaFlux::Core::GlfwWindow::~GlfwWindow().

+ Here is the caller graph for this function: