Explorar o código

Matched up platform semaphore declarations

Thomas "elfprince13" Dickerson %!s(int64=9) %!d(string=hai) anos
pai
achega
cd98ee730f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Engine/source/platformSDL/threads/semaphore.cpp

+ 2 - 1
Engine/source/platformSDL/threads/semaphore.cpp

@@ -25,8 +25,9 @@
 #include <SDL.h>
 #include <SDL_thread.h>
 
-struct PlatformSemaphore
+class PlatformSemaphore
 {
+public:
    SDL_sem *semaphore;
 
    PlatformSemaphore(S32 initialCount)