Advertisement
Guest User

Untitled

a guest
Aug 12th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.98 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. @@ -27,16 +27,18 @@
  31.  #include "precompiled.h"
  32.  #include "lib/timer.h"
  33.  
  34. -#include <sstream> // std::stringstream
  35. -#include <numeric>
  36. +#include <cfloat>
  37.  #include <cmath>
  38. -#include <cfloat>
  39.  #include <cstdarg>
  40. +#include <mutex>
  41. +#include <numeric>
  42. +#include <sstream> // std::stringstream
  43.  
  44.  #include "lib/module_init.h"
  45.  #include "lib/posix/posix_pthread.h"
  46.  #include "lib/posix/posix_time.h"
  47. -# include "lib/sysdep/cpu.h"
  48. +#include "lib/sysdep/cpu.h"
  49. +
  50.  #if OS_WIN
  51.  # include "lib/sysdep/os/win/whrt/whrt.h"
  52.  #endif
  53. Index: source/tools/atlas/GameInterface/GameLoop.cpp
  54. ===================================================================
  55. --- source/tools/atlas/GameInterface/GameLoop.cpp   (revision 22650)
  56. +++ source/tools/atlas/GameInterface/GameLoop.cpp   (working copy)
  57. @@ -17,8 +17,6 @@
  58.  
  59.  #include "precompiled.h"
  60.  
  61. -#include <thread>
  62. -
  63.  #include "GameLoop.h"
  64.  
  65.  #include "MessagePasserImpl.h"
  66. @@ -43,6 +41,8 @@
  67.  #include "ps/GameSetup/Paths.h"
  68.  #include "renderer/Renderer.h"
  69.  
  70. +#include <thread>
  71. +
  72.  using namespace AtlasMessage;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement