Minor coding style change.
This commit is contained in:
parent
e5a7f27f19
commit
642216da83
@ -152,7 +152,7 @@ void Shaders::destroy()
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Shader loading related hook
|
// Shader loading related hook
|
||||||
|
|
||||||
static std::string LoadHeader()
|
static std::string loadHeader()
|
||||||
{
|
{
|
||||||
std::string result;
|
std::string result;
|
||||||
std::ifstream Stream("header.txt", std::ios::in);
|
std::ifstream Stream("header.txt", std::ios::in);
|
||||||
@ -166,7 +166,7 @@ static std::string LoadHeader()
|
|||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
} // loadHeader
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Mostly from shader tutorial
|
// Mostly from shader tutorial
|
||||||
@ -191,7 +191,7 @@ GLuint loadShader(const char * file, unsigned type)
|
|||||||
Code += "#define VSLayer\n";
|
Code += "#define VSLayer\n";
|
||||||
if (CVS->needsRGBBindlessWorkaround())
|
if (CVS->needsRGBBindlessWorkaround())
|
||||||
Code += "#define SRGBBindlessFix\n";
|
Code += "#define SRGBBindlessFix\n";
|
||||||
Code += LoadHeader();
|
Code += loadHeader();
|
||||||
if (Stream.is_open())
|
if (Stream.is_open())
|
||||||
{
|
{
|
||||||
std::string Line = "";
|
std::string Line = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user