projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed some global variables from function parameters
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index 8df809cd787ba19cdc91041866a11d432c397597..3e49544cecc5f34918957491756ac27b5b194d7e 100644
(file)
--- a/
src/libgame/system.c
+++ b/
src/libgame/system.c
@@
-380,7
+380,7
@@
void InitVideoBuffer(int width, int height, int depth, boolean fullscreen)
video.window_scaling_available = WINDOW_SCALING_STATUS;
video.window_scaling_available = WINDOW_SCALING_STATUS;
- SDLInitVideoBuffer(
&backbuffer, &window,
fullscreen);
+ SDLInitVideoBuffer(fullscreen);
video.initialized = TRUE;
video.initialized = TRUE;
@@
-886,7
+886,7
@@
void KeyboardAutoRepeatOff(void)
boolean SetVideoMode(boolean fullscreen)
{
boolean SetVideoMode(boolean fullscreen)
{
- return SDLSetVideoMode(
&backbuffer,
fullscreen);
+ return SDLSetVideoMode(fullscreen);
}
boolean ChangeVideoModeIfNeeded(boolean fullscreen)
}
boolean ChangeVideoModeIfNeeded(boolean fullscreen)