16 lines
300 B
C
16 lines
300 B
C
#ifndef GRAPHICS_H_
|
|
#define GRAPHICS_H_
|
|
|
|
#include "../deps/include/glad/glad.h"
|
|
|
|
extern const char * defaultVertexShader, * defaultFragmentShader;
|
|
|
|
typedef struct {
|
|
GLuint program;
|
|
GLuint vao;
|
|
} Graphics;
|
|
|
|
Graphics createGraphics(const char * vss, const char * fss);
|
|
|
|
#endif // GRAPHICS_H_
|