summaryrefslogtreecommitdiff
path: root/src/gl.h
blob: d963f0f33a8d6e70ff8ebc175f286ee17156013c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef GL_H
#define GL_H

#include <epoxy/gl.h>

struct client_state;
struct gl {
	GLuint vbo;
	GLuint vao;
	GLuint ebo;
	GLuint texture;
	GLuint shader;
};

void gl_initialise(struct client_state *state);
void gl_draw(struct client_state *state);

#endif /* GL_H */