aboutsummaryrefslogtreecommitdiff
path: root/src/render.h
blob: e9cb4ff7e78ceb15b87803d9e39514b1b7dde6f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * render.h
 *
 * Render the scene
 *
 * (c) 2008 Thomas White <taw27@cam.ac.uk>
 *
 *  thrust3d - a silly game
 *
 */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef RENDER_H
#define RENDER_H

#include "types.h"

extern RenderContext *render_setup(int width, int height, int disable_vbos, int disable_fbos, int disable_shaders);
extern void render_shutdown(RenderContext *ctx);
extern void render_draw(Game *game, Uint32 t);
extern void render_set_wireframe(int wireframe);

#endif	/* RENDER_H */