2024-04-29 22:41:13 +12:00
|
|
|
#ifndef __INIT_H__
|
|
|
|
#define __INIT_H__
|
|
|
|
|
2024-05-03 11:18:50 +12:00
|
|
|
#include <opengl.h>
|
|
|
|
|
|
|
|
typedef GLFWwindow* Window;
|
2024-04-29 22:41:13 +12:00
|
|
|
|
|
|
|
void init_gl(int major, int minor);
|
|
|
|
Window create_window(int width, int height, const char* title);
|
|
|
|
|
|
|
|
#endif
|