Mercurial > sdl-ios-xcode
changeset 1017:c2f2370ac1e5
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 19 Dec 2004 22:04:44 +0000 |
parents | 720a96badf51 |
children | 012af0b7e8e6 |
files | src/video/SDL_surface.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/SDL_surface.c Thu Dec 16 06:39:54 2004 +0000 +++ b/src/video/SDL_surface.c Sun Dec 19 22:04:44 2004 +0000 @@ -54,7 +54,7 @@ /* Make sure the size requested doesn't overflow our datatypes */ /* Next time I write a library like SDL, I'll use int for size. :) */ - if ( width > 16384 || height > 16384 ) { + if ( width >= 16384 || height >= 65536 ) { SDL_SetError("Width or height is too large"); return(NULL); }