epitome-core/src/EPITOME-CORE/window.cpp
//The window is about to die
The window is about to die
The window is about to die
void Window::dispose()
	{
		if (window && reference_num == 1 && mode != E3D_WINDOW_MODE_NOTCREATED)
		{
			glfwDestroyWindow(window);
			delete keyboard;
			delete mouse;
		}
	}
void Window :: dispose ( ) { if ( window && reference_num == 1 && mode != E3D_WINDOW_MODE_NOTCREATED ) { glfwDestroyWindow ( window ) ; delete keyboard ; delete mouse ; } }
The window is about to die
The window is about to die
//Pointer is valid and this is the original refrence to window and window already created