Commit eb4fd482 authored by Jonathan Kunstwald's avatar Jonathan Kunstwald

Fix embed shader define check

parent eaaf97ad
......@@ -42,7 +42,7 @@
#include "swarm/SwarmlingC.hh"
#include "util/FileSaver.hh"
#if FLOCK_EMBED_SHADERS
#ifdef FLOCK_EMBED_SHADERS
#include "../generated/flock_shaders.hh"
#endif
......@@ -323,7 +323,7 @@ void FlockApp::init()
// -- Asset & Shader loading --
{
#if FLOCK_EMBED_SHADERS
#ifdef FLOCK_EMBED_SHADERS
for (auto &virtualPair : internal_embedded_files::flock_shaders)
DefaultShaderParser::addVirtualFile(virtualPair.first, virtualPair.second);
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment