30 lines
579 B
C
30 lines
579 B
C
|
|
#ifndef ARC_OPENGL_RENDERER_H_
|
||
|
|
#define ARC_OPENGL_RENDERER_H_
|
||
|
|
|
||
|
|
#ifdef ARC_GLFW_WINDOW
|
||
|
|
|
||
|
|
#define GLEW_STATIC
|
||
|
|
#include <GL/glew.h>
|
||
|
|
|
||
|
|
#include <GLFW/glfw3.h>
|
||
|
|
|
||
|
|
#include "arc/graphics/renderer.h"
|
||
|
|
#include "arc/graphics/window.h"
|
||
|
|
|
||
|
|
typedef struct ARC_RendererType {
|
||
|
|
GLFWwindow *window;
|
||
|
|
} ARC_RendererType;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief struct for info needed to create glfw renderer
|
||
|
|
*
|
||
|
|
* @note this is what needs to be passed into the data parameter for ARC_Renderer_Create
|
||
|
|
*/
|
||
|
|
//struct ARC_RenderInfo {
|
||
|
|
// GLFWwindow *window;
|
||
|
|
//};
|
||
|
|
|
||
|
|
#endif // !ARC_GLFW_WINDOW
|
||
|
|
|
||
|
|
#endif // !ARC_OPENGL_RENDERER_H_
|