Added frame buffer support.
This commit is contained in:
16
include/dawn/display/framebuffer.h
Normal file
16
include/dawn/display/framebuffer.h
Normal 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;
|
Reference in New Issue
Block a user