e470236379
some changes for compatibility and windows.
23 lines
No EOL
370 B
C
23 lines
No EOL
370 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 <GL/glew.h>
|
|
|
|
typedef struct {
|
|
GLuint fbo;
|
|
GLuint tex;
|
|
GLuint depth;
|
|
|
|
int nw,nh;
|
|
} FBO;
|
|
|
|
void init_fbo(FBO *fbo);
|
|
void draw_fbo_viewport(FBO *fbo);
|
|
#endif |