comparison src/video/SDL_leaks.h @ 5159:307ccc9c135e

Made it possible to create a texture of any format, even if not supported by the renderer. This allows me to reduce the set of formats supported by the renderers to the most optimal set, for a nice speed boost.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 03 Feb 2011 00:19:40 -0800
parents f7b03b6838cb
children
comparison
equal deleted inserted replaced
5158:f3ebd1950442 5159:307ccc9c135e
27 /* Global variables used to check leaks in code using SDL */ 27 /* Global variables used to check leaks in code using SDL */
28 28
29 #ifdef CHECK_LEAKS 29 #ifdef CHECK_LEAKS
30 extern int surfaces_allocated; 30 extern int surfaces_allocated;
31 #endif 31 #endif
32
32 /* vi: set ts=4 sw=4 expandtab: */ 33 /* vi: set ts=4 sw=4 expandtab: */