Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
fcc17ebc
Commit
fcc17ebc
authored
Feb 11, 2011
by
Sam Lantinga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished removing unused leak detection code.
parent
5a0ad0fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
SDL.c
src/SDL.c
+0
-16
No files found.
src/SDL.c
View file @
fcc17ebc
...
@@ -29,10 +29,6 @@
...
@@ -29,10 +29,6 @@
#include "haptic/SDL_haptic_c.h"
#include "haptic/SDL_haptic_c.h"
#include "joystick/SDL_joystick_c.h"
#include "joystick/SDL_joystick_c.h"
#if !SDL_VIDEO_DISABLED
#include "video/SDL_leaks.h"
#endif
/* Initialization/Cleanup routines */
/* Initialization/Cleanup routines */
#if !SDL_TIMERS_DISABLED
#if !SDL_TIMERS_DISABLED
extern
void
SDL_StartTicks
(
void
);
extern
void
SDL_StartTicks
(
void
);
...
@@ -49,9 +45,6 @@ extern int SDL_HelperWindowDestroy(void);
...
@@ -49,9 +45,6 @@ extern int SDL_HelperWindowDestroy(void);
static
Uint32
SDL_initialized
=
0
;
static
Uint32
SDL_initialized
=
0
;
static
Uint32
ticks_started
=
0
;
static
Uint32
ticks_started
=
0
;
#ifdef CHECK_LEAKS
int
surfaces_allocated
=
0
;
#endif
int
int
SDL_InitSubSystem
(
Uint32
flags
)
SDL_InitSubSystem
(
Uint32
flags
)
...
@@ -220,15 +213,6 @@ SDL_Quit(void)
...
@@ -220,15 +213,6 @@ SDL_Quit(void)
#endif
#endif
SDL_QuitSubSystem
(
SDL_INIT_EVERYTHING
);
SDL_QuitSubSystem
(
SDL_INIT_EVERYTHING
);
#ifdef CHECK_LEAKS
/* !!! FIXME: make this an assertion. */
/* Print the number of surfaces not freed */
if
(
surfaces_allocated
!=
0
)
{
fprintf
(
stderr
,
"SDL Warning: %d SDL surfaces extant
\n
"
,
surfaces_allocated
);
}
#endif
/* Uninstall any parachute signal handlers */
/* Uninstall any parachute signal handlers */
SDL_UninstallParachute
();
SDL_UninstallParachute
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment