Advertisement
Guest User

Untitled

a guest
Aug 12th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.09 KB | None | 0 0
  1. Index: source/graphics/TextureConverter.cpp
  2. ===================================================================
  3. --- source/graphics/TextureConverter.cpp    (revision 22650)
  4. +++ source/graphics/TextureConverter.cpp    (working copy)
  5. @@ -286,8 +286,6 @@
  6.  
  7.     // Set up the worker thread:
  8.  
  9. -   int ret;
  10. -
  11.     // Use SDL semaphores since OS X doesn't implement sem_init
  12.     m_WorkerSem = SDL_CreateSemaphore(0);
  13.     ENSURE(m_WorkerSem);
  14. Index: source/graphics/TextureConverter.h
  15. ===================================================================
  16. --- source/graphics/TextureConverter.h  (revision 22650)
  17. +++ source/graphics/TextureConverter.h  (working copy)
  18. @@ -23,6 +23,7 @@
  19.  
  20.  #include "TextureManager.h"
  21.  
  22. +#include <mutex>
  23.  #include <thread>
  24.  
  25.  class MD5;
  26. Index: source/lib/timer.cpp
  27. ===================================================================
  28. --- source/lib/timer.cpp    (revision 22650)
  29. +++ source/lib/timer.cpp    (working copy)
  30. @@ -32,6 +32,7 @@
  31.  #include <cmath>
  32.  #include <cfloat>
  33.  #include <cstdarg>
  34. +#include <mutex>
  35.  
  36.  #include "lib/module_init.h"
  37.  #include "lib/posix/posix_pthread.h"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement