Skip to content
Snippets Groups Projects
Commit 039335e4 authored by Jonas Johan Solsvik's avatar Jonas Johan Solsvik
Browse files

merging with upstream

parent c96793e4
Branches fastloading
No related tags found
No related merge requests found
......@@ -142,7 +142,6 @@ target_compile_options(
cube
PRIVATE "-Wall"
PRIVATE "-Wextra"
PRIVATE "-g"
PRIVATE "-std=c++17"
)
......
......@@ -8,6 +8,7 @@
#include <fstream>
#include <sstream>
#include <string>
#include <chrono>
#include <GL/glew.h>
......@@ -57,12 +58,16 @@ int main(int argc, char** args)
Watcher::pollEvents();
// Load asset subsystems
TextureSystem::load();
ShaderSystem::createUniformBuffers();
ShaderSystem::load();
MaterialSystem::load();
ModelSystem::load();
LOG_DEBUG("Argc %d, args[1] %s", argc, args[1]);
......@@ -101,7 +106,6 @@ int main(int argc, char** args)
oldT = t;
// break; // For testing load performance
}
Scene::clean();
......
......@@ -28,6 +28,7 @@ def scan_collection(collection, fileregex):
if __name__ == "__main__":
scan_collection("textures", "*.jpg");
scan_collection("textures", "*.png");
scan_collection("textures", "*.tga");
scan_collection("shaders", "*.glsl");
scan_collection("materials", "*.yml");
scan_collection("models", "*.yml");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment