Added frame buffer support.

This commit is contained in:
2021-05-05 07:37:25 -07:00
parent 469750b0a0
commit c3244274ce
10 changed files with 168 additions and 44 deletions

View File

@ -0,0 +1,16 @@
/**
* Copyright (c) 2021 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "../libs.h"
#include "texture.h"
typedef struct {
GLuint fboId;
GLuint rboId;
texture_t *texture;
} framebuffer_t;