summaryrefslogtreecommitdiff
path: root/src/gl/honey_gl.h
blob: 8d5cdd90fb3c24e7ef6abcf3cb96e2a3ec7dc50c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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);

#endif