provide a better method of embedding shaders within the source code

This commit is contained in:
2025-06-05 00:14:44 +02:00
parent 5ae974d84f
commit 5f4389d9f9
10 changed files with 160 additions and 82 deletions

10
src/io/shader.h Normal file
View File

@@ -0,0 +1,10 @@
// Copyright (c) 2025 Quinn
// Licensed under the MIT Licence. See LICENSE for details
#pragma once
#include <glad/gl.h>
#include <stddef.h>
#include <stdint.h>
int shader_init(GLuint pipe);