Empty window
Fixed compilation on windows
Fixed compilation with directx