[iortcw] 290/497: SP: Fix unused variable warning from last commit
Simon McVittie
smcv at debian.org
Wed Sep 21 19:48:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to annotated tag 1.42d
in repository iortcw.
commit 5aa8b1b30a55f9517cf74fd5e4bdf8d9140de283
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date: Wed Feb 11 23:44:52 2015 +0000
SP: Fix unused variable warning from last commit
---
SP/code/sdl/sdl_glimp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SP/code/sdl/sdl_glimp.c b/SP/code/sdl/sdl_glimp.c
index b6df7b8..47bc503 100644
--- a/SP/code/sdl/sdl_glimp.c
+++ b/SP/code/sdl/sdl_glimp.c
@@ -464,7 +464,7 @@ static int GLimp_SetMode(int mode, qboolean fullscreen, qboolean noborder)
}
else if ( ( r_windowPosx->integer == 0 ) && ( r_windowPosy->integer == 0 ) )
{
- if( ( SDL_window = SDL_CreateWindow( CLIENT_WINDOW_TITLE, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
+ if( ( SDL_window = SDL_CreateWindow( CLIENT_WINDOW_TITLE, x, y,
glConfig.vidWidth, glConfig.vidHeight, flags ) ) == 0 )
{
ri.Printf( PRINT_DEVELOPER, "SDL_CreateWindow failed: %s\n", SDL_GetError( ) );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list