mirror of https://github.com/AxioDL/boo.git
Fix linux build
This commit is contained in:
parent
1c3c09d05a
commit
ea922183cc
|
@ -12,7 +12,7 @@
|
||||||
#include <boo/graphicsdev/D3D11.hpp>
|
#include <boo/graphicsdev/D3D11.hpp>
|
||||||
#elif _WIN32_WINNT_WIN7
|
#elif _WIN32_WINNT_WIN7
|
||||||
#include <boo/graphicsdev/D3D11.hpp>
|
#include <boo/graphicsdev/D3D11.hpp>
|
||||||
#else
|
#elif _WIN32
|
||||||
#error unsupported windows version
|
#error unsupported windows version
|
||||||
#endif
|
#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
|
#if _WIN32
|
||||||
int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE, LPWSTR lpCmdLine, int)
|
int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE, LPWSTR lpCmdLine, int)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue