fred/shader.h

16 lines
261 B
C

#ifndef LOAD_SHADERS_H
#define LOAD_SHADERS_H
#include <glad/gl.h>
#include <GLFW/glfw3.h>
#ifdef __cplusplus
extern "C" {
#endif
GLuint loadShaders(const char* vertex_file_path,
const char* fragment_file_path);
#ifdef __cplusplus
}
#endif
#endif