mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
array size fix for r752
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@753 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
f76a882d53
commit
117899f402
1 changed files with 1 additions and 1 deletions
|
@ -1030,7 +1030,7 @@ static void VID_InitFullDIB (void)
|
|||
|
||||
// enumerate fullscreen modes
|
||||
flags = SDL_DEFAULT_FLAGS | SDL_FULLSCREEN;
|
||||
for (i = 0; i < (int)sizeof(bpps); i++)
|
||||
for (i = 0; i < (int)(sizeof(bpps)/sizeof(int)); i++)
|
||||
{
|
||||
if (nummodes >= MAX_MODE_LIST)
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue