shader update strings

This commit is contained in:
Daniel Ledda
2025-01-08 11:02:30 +01:00
parent b84b59df09
commit 994cbc688f
3 changed files with 37 additions and 35 deletions

View File

@@ -1,10 +1,12 @@
#ifndef LEDDA_SHADER_H
#define LEDDA_SHADER_H
#include "../lib/djstdlib/core.h"
struct Shader {
unsigned int prog_id;
uint32 prog_id;
};
Shader createShader(const char* vertex_path, const char* fragment_path);
Shader createShader(string vertex_path, string fragment_path);
#endif