Skip to content

Commit 9efaa5b

Browse files
committed
cleanup
1 parent cd40260 commit 9efaa5b

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/main.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
// Hello, production branch!
22
// :3
33

4-
// If GRAPHX_EMBED_SHADERS is defined, GraphX will use std::string variables in an included header file for the shader code
5-
// instead of the files in src/shaders.
6-
// This is used when compiling the binary that I put in the GitHub release, as I don't have a great solution for loading things
7-
// like image and shader files without having them be physically right next to the binary program.
8-
#define GRAPHX_EMBED_SHADERS
94
#define STB_IMAGE_IMPLEMENTATION
105
#include "sanity.hpp"
116
#include "r_common.hpp"
@@ -16,7 +11,6 @@
1611
#include <vector>
1712
#include <thread>
1813
#include <mutex>
19-
// #include <filesystem>
2014

2115
GraphXPlayer player("Player", glm::vec3(0.0f, 3.0f, 0.0f));
2216
Environment default_environment(true);
@@ -70,7 +64,6 @@ int main()
7064

7165
glGenVertexArrays(VAOS_AMOUNT, &VAOs[0]);
7266

73-
// GLShader phong_shader(std::filesystem::path("src/shaders/phong_vertex.glsl"), std::filesystem::path("src/shaders/phong_fragment.glsl"));
7467
GLShader phong_shader(phong_vertex_glsl, phong_fragment_glsl);
7568
shaders.insert(shaders.end(), {&phong_shader});
7669

0 commit comments

Comments
 (0)