summaryrefslogtreecommitdiff
path: root/graphics/xmms-dancingparticles/files/patch-plugin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xmms-dancingparticles/files/patch-plugin.cc')
-rw-r--r--graphics/xmms-dancingparticles/files/patch-plugin.cc45
1 files changed, 0 insertions, 45 deletions
diff --git a/graphics/xmms-dancingparticles/files/patch-plugin.cc b/graphics/xmms-dancingparticles/files/patch-plugin.cc
deleted file mode 100644
index e85400ee63e8..000000000000
--- a/graphics/xmms-dancingparticles/files/patch-plugin.cc
+++ /dev/null
@@ -1,45 +0,0 @@
---- plugin.cc.orig
-+++ plugin.cc
-@@ -109,7 +109,7 @@
-
- static SDL_Surface *opengl_screen = NULL;
- static SDL_Thread *draw_thread = NULL;
--SDL_mutex *mutex = NULL;
-+SDL_mutex *sdlmutex = NULL;
-
- VisPlugin dp_vplugin = {
- NULL, /* internal */
-@@ -158,14 +158,14 @@
- void
- init_mutexes (void)
- {
-- mutex = SDL_CreateMutex();
-+ sdlmutex = SDL_CreateMutex();
- }
-
-
- void
- destroy_mutexes (void)
- {
-- SDL_DestroyMutex(mutex);
-+ SDL_DestroyMutex(sdlmutex);
- }
-
- void
-@@ -456,14 +456,14 @@
-
- while (!point_general->finished) {
- if (!point_general->paused) {
-- SDL_mutexP(mutex);
-+ SDL_mutexP(sdlmutex);
-
- update_playlist_info();
- look_conf_file();
- etoileLoop();
- draw_gl();
-
-- SDL_mutexV(mutex);
-+ SDL_mutexV(sdlmutex);
- calc_fps();
- calc_max_fps();
- printf("\rFPS: %3.2f", framerate); printf(" ");