taisei/src/fbo.h
laochailan 3861a69d62 menus - the beginning
implemented:
[x] ingame menu
[x] main menu
[x] menus
[x] fancy fades
[x] structural earthquake
[ ] the rest of the main menu (difficulty/char select)
2011-06-13 18:48:36 +02:00

23 lines
No EOL
377 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 <SDL/SDL_opengl.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