mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
ccdfa01a88
* add the imgui library * use third-party glfw include * another try at includes * again * another try
21 lines
478 B
C
21 lines
478 B
C
#pragma once
|
|
|
|
/*!
|
|
* @file opengl.h
|
|
* OpenGL includes.
|
|
*/
|
|
|
|
#define GLFW_INCLUDE_NONE
|
|
#include "third-party/glad/include/glad/glad.h"
|
|
#include "third-party/glfw/include/GLFW/glfw3.h"
|
|
|
|
#include "game/graphics/gfx.h"
|
|
|
|
enum GlfwKeyAction {
|
|
Release = GLFW_RELEASE, // falling edge of key press
|
|
Press = GLFW_PRESS, // rising edge of key press
|
|
Repeat = GLFW_REPEAT // repeated input on hold e.g. when typing something
|
|
};
|
|
|
|
extern const GfxRendererModule moduleOpenGL;
|