blob: 08210a07610fddc43801a07a81310e09ceedc4f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef HONEY_GL_H
#define HONEY_GL_H
#include "glad/glad.h"
#include <GLFW/glfw3.h>
struct honey_window {
GLFWwindow * window;
bool created;
lua_State *L;
};
extern struct honey_window window;
void setup_window(lua_State *L, int tbl_index);
void setup_gl(lua_State *L, int tbl_index);
#endif
|