erebus
diff liberebus/src/erebus.h @ 40:9d6368850fe1
minor enhancements and bugfixes to the console stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 10 Jun 2014 10:53:19 +0300 |
parents | db8a90307386 |
children |
line diff
1.1 --- a/liberebus/src/erebus.h Mon Jun 09 23:57:24 2014 +0300 1.2 +++ b/liberebus/src/erebus.h Tue Jun 10 10:53:19 2014 +0300 1.3 @@ -28,6 +28,8 @@ 1.4 struct erebus *erb_init(void); 1.5 void erb_destroy(struct erebus *ctx); 1.6 1.7 +void erb_clear(struct erebus *ctx); 1.8 + 1.9 void erb_setopti(struct erebus *ctx, enum erb_option opt, int val); 1.10 void erb_setoptf(struct erebus *ctx, enum erb_option opt, float val); 1.11 void erb_setoptfv(struct erebus *ctx, enum erb_option opt, float *vec); 1.12 @@ -39,6 +41,8 @@ 1.13 float *erb_get_framebuffer(struct erebus *ctx); 1.14 1.15 void erb_begin_frame(struct erebus *ctx, long ms); 1.16 +void erb_end_frame(struct erebus *ctx); 1.17 + 1.18 int erb_render(struct erebus *ctx, long timeout); 1.19 int erb_render_rect(struct erebus *ctx, int x, int y, int width, int height, long timeout); 1.20