projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20040822-1-src
[rocksndiamonds.git]
/
src
/
game_em
/
init.c
diff --git
a/src/game_em/init.c
b/src/game_em/init.c
index 64d734ccb382fce18131199b986a9764982d3838..55b9d177a70da21f656c4020188e8626fb07a6de 100644
(file)
--- a/
src/game_em/init.c
+++ b/
src/game_em/init.c
@@
-558,11
+558,13
@@
int open_all(void)
#endif
#if 1
#endif
#if 1
- screenBitmap = CreateBitmap(22 * TILEX, 14 * TILEY, DEFAULT_DEPTH);
+ screenBitmap = CreateBitmap(MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY,
+ DEFAULT_DEPTH);
scoreBitmap = CreateBitmap(20 * TILEX, SCOREY, DEFAULT_DEPTH);
#endif
scoreBitmap = CreateBitmap(20 * TILEX, SCOREY, DEFAULT_DEPTH);
#endif
- screenPixmap = XCreatePixmap(display, xwindow, 22 * TILEX, 14 * TILEY,
+ screenPixmap = XCreatePixmap(display, xwindow,
+ MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY,
screenDepth);
if (screenPixmap == 0)
{
screenDepth);
if (screenPixmap == 0)
{