CCompiled and runed with working visuals

This commit is contained in:
Ilusha 2024-03-17 15:25:42 +03:00 committed by Ilya Shurupov
parent 2455f90550
commit 3b389bdc17
8 changed files with 308 additions and 153 deletions

View file

@ -2,7 +2,7 @@
#include "FrameBuffer.hpp"
#include "GraphicsApi.hpp"
void glerr(GLenum type);
void glerr(GLenum type) { printf("GL ERROR\n"); }
#define AssertGL(x) { x; GLenum __gle = glGetError(); if (__gle != GL_NO_ERROR) glerr(__gle); }
using namespace tp;