DarkRadiant: master bd0d5211

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 26.03.2019 21:58 master b818a38a
Changeset Simplify ShaderFileLoader path handling

ShaderFileLoader no longer needs its own _basePath variable to reconstruct the
path to the MTR file, since this is now available via FileInfo::fullPath().
This change in turn allows the shader file loading to behave the same with or
without a trailing slash on the materials directory name.
mod - radiant/shaders/Doom3ShaderSystem.cpp Diff File
mod - radiant/shaders/ShaderFileLoader.h Diff File
mod - radiant/test/shadersTest.cpp Diff File