Sdk/Application: Fix compilation in server mode

Former-commit-id: f22b42bca6bd277e08739e73e93a330943d41385 [formerly ad21870d5a8a0a5ddc69be18de7d815a492e197e] [formerly 8c313395815420b252b4b902c56dd2a950049eb5 [formerly add61b18ad8c4059e410a311aeb3eeaa9572c551]]
Former-commit-id: e01dc9b1b7dd6a686d748988967e19f828027664 [formerly e7665c8d40d3f6402b3730ceca27cefb90a08c22]
Former-commit-id: 81aa4614b0704b6996165553abed7f7c40386f44
This commit is contained in:
Lynix
2016-08-29 18:16:33 +02:00
parent c94048d8c3
commit fe539d33ef
3 changed files with 8 additions and 3 deletions

View File

@@ -350,6 +350,7 @@ namespace Ndk
return s_application;
}
#ifndef NDK_SERVER
template<typename T>
inline void Application::SetupWindow(WindowInfo& info, T* renderTarget, std::true_type)
{
@@ -372,7 +373,6 @@ namespace Ndk
{
}
#ifndef NDK_SERVER
inline Application::WindowInfo::WindowInfo(std::unique_ptr<Nz::Window>&& window) :
window(std::move(window)),
renderTarget(nullptr)