taisei/src/fbo.h
2012-07-29 10:58:46 +02:00

26 lines
No EOL
400 B
C

/*
* This software is licensed under the terms of the MIT-License
* See COPYING for further information.
* ---
* Copyright (C) 2011, Lukas Weber <laochailan@web.de>
*/
#ifndef FBO_H
#define FBO_H
#include "taiseigl.h"
typedef struct {
GLuint fbo;
GLuint tex;
GLuint depth;
int nw,nh;
} FBO;
void init_fbo(FBO *fbo);
void draw_fbo_viewport(FBO *fbo);
void delete_fbo(FBO *fbo);
#endif