projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
porting the demo to miniglut
[dosdemo]
/
src
/
dos
/
main.c
diff --git
a/src/dos/main.c
b/src/dos/main.c
index
b415bb4
..
566d47e
100644
(file)
--- a/
src/dos/main.c
+++ b/
src/dos/main.c
@@
-54,7
+54,7
@@
int main(int argc, char **argv)
return 1;
}
return 1;
}
- if((vmidx = match_video_mode(640, 480, 16)) == -1) {
+ if((vmidx = match_video_mode(FB_WIDTH, FB_HEIGHT, FB_BPP)) == -1) {
return 1;
}
if(!(vmem = set_video_mode(vmidx, 1))) {
return 1;
}
if(!(vmem = set_video_mode(vmidx, 1))) {