Mercurial > sdl-ios-xcode
view src/video/ataricommon/Makefile.am @ 940:bb1588ebe47b
Date: Sat, 10 Jul 2004 21:02:33 +0200
From: "Philippe Plantier (ayin)"
Subject: [SDL] Problems allocating large surfaces
There are problems when allocating large surfaces using SDL_CreateRGBSurface.
When, for example, we try to allocate a surface wider than 16384 pixels,
the calculation of the pitch overflows; this leads to a surface that
has the w and h flags correctly set, but whose "pixels" buffer is too
small. That may lead to heap corruption.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 21 Aug 2004 05:29:45 +0000 |
parents | 0310bb01091f |
children | 475166d13b44 |
line wrap: on
line source
## Makefile.am for SDL using the Atari bios noinst_LTLIBRARIES = libvideo_ataricommon.la libvideo_ataricommon_la_SOURCES = $(ATARICOMMON_SRCS) # The SDL Atari bios driver sources ATARICOMMON_SRCS = \ SDL_ataric2p.S \ SDL_ataric2p_s.h \ SDL_atarieddi.S \ SDL_atarieddi_s.h \ SDL_atarievents.c \ SDL_atarievents_c.h \ SDL_atarikeys.h \ SDL_atarimxalloc.c \ SDL_atarimxalloc_c.h \ SDL_biosevents.c \ SDL_biosevents_c.h \ SDL_gemdosevents.c \ SDL_gemdosevents_c.h \ SDL_ikbdevents.c \ SDL_ikbdevents_c.h \ SDL_ikbdinterrupt.S \ SDL_ikbdinterrupt_s.h \ SDL_xbiosevents.c \ SDL_xbiosevents_c.h \ SDL_xbiosinterrupt.S \ SDL_xbiosinterrupt_s.h