Skip to content

Commit

Permalink
fix Win32AllocatorSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
irov committed Aug 29, 2023
1 parent b405558 commit 8067721
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Platforms/SDLPlatform/SDLPlatformService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2989,7 +2989,7 @@ namespace Mengine
//////////////////////////////////////////////////////////////////////////
#endif
//////////////////////////////////////////////////////////////////////////
#if defined( MENGINE_ENVIRONMENT_RENDER_OPENGL )
#if defined(MENGINE_ENVIRONMENT_RENDER_OPENGL)
//////////////////////////////////////////////////////////////////////////
SDL_GLContext SDLPlatformService::getGLContext() const
{
Expand Down
8 changes: 6 additions & 2 deletions src/Systems/Win32AllocatorSystem/Win32AllocatorSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,17 @@ namespace Mengine
return mem;
}
//////////////////////////////////////////////////////////////////////////
void Win32AllocatorSystem::startThread()
void Win32AllocatorSystem::beginThread( ThreadId _threadId )
{
MENGINE_UNUSED( _threadId );

//Empty
}
//////////////////////////////////////////////////////////////////////////
void Win32AllocatorSystem::stopThread()
void Win32AllocatorSystem::endThread( ThreadId _threadId )
{
MENGINE_UNUSED( _threadId );

//Empty
}
////////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions src/Systems/Win32AllocatorSystem/Win32AllocatorSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ namespace Mengine
void * realloc( void * _mem, size_t _size, const Char * _doc ) override;

protected:
void startThread() override;
void stopThread() override;
void beginThread( ThreadId _threadId ) override;
void endThread( ThreadId _threadId ) override;

protected:
uint32_t getMemoryUsage() const override;
Expand Down

0 comments on commit 8067721

Please sign in to comment.