ALL: Merge branch 'tlj'
This commit is contained in:
commit
5c73d0083d
192 changed files with 25561 additions and 4 deletions
|
@ -36,11 +36,13 @@ static const GLchar *readFile(const Common::String &filename) {
|
|||
// FIXME: it's doesn't work with just search subdirs in 'engines'
|
||||
SearchMan.addDirectory("GRIM_SHADERS", "engines/grim", 0, 2);
|
||||
SearchMan.addDirectory("MYST3_SHADERS", "engines/myst3", 0, 2);
|
||||
SearchMan.addDirectory("STARK_SHADERS", "engines/stark", 0, 2);
|
||||
file.open(Common::String("shaders/") + filename);
|
||||
if (!file.isOpen())
|
||||
error("Could not open shader %s!", filename.c_str());
|
||||
SearchMan.remove("GRIM_SHADERS");
|
||||
SearchMan.remove("MYST3_SHADERS");
|
||||
SearchMan.remove("STARK_SHADERS");
|
||||
|
||||
const int32 size = file.size();
|
||||
GLchar *shaderSource = new GLchar[size + 1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue