source/System/File.cpp: move path stuff to Path.cpp
This commit is contained in:
parent
66f3bb30d9
commit
1a218532c0
8 changed files with 50 additions and 30 deletions
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
#include <fstream>
|
||||
#include <Spectre/System/File.h>
|
||||
#include <Spectre/System/Path.h>
|
||||
#include <Spectre/Graphics/Shader.h>
|
||||
#include <Graphics/GL/gl.h>
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ bool Shader::loadFromFile(const std::string& file)
|
|||
|
||||
// If this shader does not have a name, pick the filename.
|
||||
if (m_name.length() < 1) {
|
||||
m_name = file::getBasename(file);
|
||||
m_name = Path::getBasename(file);
|
||||
}
|
||||
|
||||
// Load file into memory.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue