projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20061101-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index 55046b8890a428a037ed9b3437c1405d1979db0c..5ccb5eb71257414f36e6dba3ae7d1a6682fcbdde 100644
(file)
--- a/
src/libgame/system.c
+++ b/
src/libgame/system.c
@@
-321,8
+321,7
@@
void CloseVideoDisplay(void)
#endif
}
#endif
}
-void InitVideoBuffer(DrawBuffer **backbuffer, DrawWindow **window,
- int width, int height, int depth, boolean fullscreen)
+void InitVideoBuffer(int width, int height, int depth, boolean fullscreen)
{
video.width = width;
video.height = height;
{
video.width = width;
video.height = height;
@@
-334,10
+333,12
@@
void InitVideoBuffer(DrawBuffer **backbuffer, DrawWindow **window,
video.fullscreen_mode_current = NULL;
#if defined(TARGET_SDL)
video.fullscreen_mode_current = NULL;
#if defined(TARGET_SDL)
- SDLInitVideoBuffer(
backbuffer,
window, fullscreen);
+ SDLInitVideoBuffer(
&backbuffer, &
window, fullscreen);
#else
#else
- X11InitVideoBuffer(
backbuffer,
window);
+ X11InitVideoBuffer(
&backbuffer, &
window);
#endif
#endif
+
+ drawto = backbuffer;
}
Bitmap *CreateBitmapStruct(void)
}
Bitmap *CreateBitmapStruct(void)