refactor opengl shader and add shader builder

This commit is contained in:
2021-10-17 16:40:18 +02:00
parent 5ee0b7017f
commit 8e74256670
5 changed files with 213 additions and 7 deletions

View File

@@ -1,6 +1,10 @@
#include "./shader.hpp"
#include <map>
#ifdef MM_OPENGL_3_GLES
#include <GLES3/gl3.h>
#else
#include <glad/glad.h>
#endif
#include <mm/services/filesystem.hpp>