fixed build for linux and ps2

This commit is contained in:
aap
2017-08-29 14:05:45 +02:00
parent d00ab2f526
commit 239a4eb4bc
17 changed files with 53 additions and 28 deletions

View File

@ -167,7 +167,7 @@ InitRW(void)
tex = rw::Texture::read("maze", nil);
char *filename = "teapot.dff";
const char *filename = "teapot.dff";
if(sk::args.argc > 1)
filename = sk::args.argv[1];
rw::StreamFile in;

View File

@ -658,7 +658,7 @@ initrw(void)
return 0;
if(!rw::Engine::start(&engineStartParams))
return 0;
rw::engine->loadTextures = 0;
rw::Texture::setLoadTextures(0);
rw::TexDictionary::setCurrent(rw::TexDictionary::create());
rw::Image::setSearchPath(".");