Fix indentation

This commit is contained in:
2015-02-20 19:36:27 -05:00
parent 7c1aa91ad6
commit 8adc28fc6f

View File

@@ -48,10 +48,9 @@ static void register_main_patterns();
void init_graph_tool(){
fs::path shaderPath = progDir/"data"/"shaders";
fs::path fragPath = shaderPath/"mask.frag", vertPath = shaderPath/"mask.vert";
std::ifstream fin;
do {
std::ifstream fin;
std::cerr << "Loading fragment shader from " << fragPath.string() << std::endl;
fin.open(fragPath.string().c_str());
if(!fin.good()) {
@@ -87,7 +86,6 @@ void init_graph_tool(){
}
delete[] fbuf;
delete[] vbuf;
} while(false);
int i;
// TODO: The duplication of location here shouldn't be necessary