Add backbuffer

This commit is contained in:
2025-08-22 23:30:23 -05:00
parent 995bbe1acd
commit 1bf6fe6eaf
13 changed files with 413 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
#include "renderer.h"
#include "display/mesh/meshrenderer.h"
#include "scene/node.h"
#include "display/framebuffer/framebuffer.h"
void rendererRender(const ecsid_t camera) {
if(camera == -1) return;
@@ -18,6 +19,7 @@ void rendererRender(const ecsid_t camera) {
ecsid_t id;
meshCount = meshRendererGetAll(meshes);
frameBufferBind(NULL);
cameraPush(camera);
for(uint32_t i = 0; i < meshCount; i++) {
id = meshes[i];