fixed build for linux and ps2
This commit is contained in:
@ -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;
|
||||
|
@ -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(".");
|
||||
|
Reference in New Issue
Block a user