projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
setting up to improve the rasterizer
[dosdemo]
/
src
/
screen.c
diff --git
a/src/screen.c
b/src/screen.c
index
17491d5
..
4e26db4
100644
(file)
--- a/
src/screen.c
+++ b/
src/screen.c
@@
-10,6
+10,7
@@
struct screen *fract_screen(void);
struct screen *grise_screen(void);
struct screen *polytest_screen(void);
struct screen *plasma_screen(void);
struct screen *grise_screen(void);
struct screen *polytest_screen(void);
struct screen *plasma_screen(void);
+struct screen *bump_screen(void);
#define NUM_SCR 32
static struct screen *scr[NUM_SCR];
#define NUM_SCR 32
static struct screen *scr[NUM_SCR];
@@
-37,6
+38,9
@@
int scr_init(void)
if (!(scr[idx++] = plasma_screen())) {
return -1;
}
if (!(scr[idx++] = plasma_screen())) {
return -1;
}
+ if (!(scr[idx++] = bump_screen())) {
+ return -1;
+ }
num_screens = idx;
assert(num_screens <= NUM_SCR);
num_screens = idx;
assert(num_screens <= NUM_SCR);