openblocks/src/renderer.cpp

11 lines
226 B
C++
Raw Normal View History

2024-09-27 16:31:14 +00:00
#include "renderer.h"
#include "GLFW/glfw3.h"
void renderInit(GLFWwindow* window) {
}
void render(GLFWwindow* window) {
glClearColor(0.1f, 0.1f, 0.1f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}