Fix linux build

This commit is contained in:
Phillip Stephens 2015-11-04 20:36:34 -08:00
parent 1c3c09d05a
commit ea922183cc
1 changed files with 1 additions and 15 deletions

View File

@ -12,7 +12,7 @@
#include <boo/graphicsdev/D3D11.hpp>
#elif _WIN32_WINNT_WIN7
#include <boo/graphicsdev/D3D11.hpp>
#else
#elif _WIN32
#error unsupported windows version
#endif
@ -423,20 +423,6 @@ struct TestApplicationCallback : IApplicationCallback
}
#ifdef _WIN32
int wmain(int argc, const wchar_t** argv)
#else
int main(int argc, const char** argv)
#endif
{
LogVisor::RegisterConsoleLogger();
boo::TestApplicationCallback appCb;
int ret = ApplicationRun(boo::IApplication::PLAT_AUTO,
appCb, _S("rwk"), _S("RWK"), argc, argv);
printf("IM DYING!!\n");
return ret;
}
#if _WIN32
int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE, LPWSTR lpCmdLine, int)
{