3861a69d62
implemented: [x] ingame menu [x] main menu [x] menus [x] fancy fades [x] structural earthquake [ ] the rest of the main menu (difficulty/char select)
23 lines
No EOL
377 B
C
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 |