Fix bugs. Sketch3D stable.

This commit is contained in:
IlyaShurupov 2024-03-18 10:42:01 +03:00 committed by Ilya Shurupov
parent cd8feaf2c0
commit e065dc736b
9 changed files with 45 additions and 32 deletions

View file

@ -2,6 +2,8 @@
#include "FrameBuffer.hpp"
#include "GraphicsApi.hpp"
#include <stdio.h>
void glerr(GLenum type) { printf("GL ERROR\n"); }
#define AssertGL(x) { x; GLenum __gle = glGetError(); if (__gle != GL_NO_ERROR) glerr(__gle); }