topaz/rendering/gl/context.h

21 lines
354 B
C

/* SPDX-License-Identifier:BSD-3-Clause */
#ifndef GL_CONTEXT_H
#define GL_CONTEXT_H
#include "gl.h"
#include "../../core/types.h"
#define RGFW_OPENGL
#ifndef RGFW_IMPLEMENTATION
#define RGFW_IMPORT
#endif
#include "../../rgfw.h"
struct renderer_context {
RGFW_window *window;
GLuint shader_program;
GLuint vao;
GLuint vbo;
GLuint ebo;
};
#endif