mirror of
https://github.com/celisej567/source-engine.git
synced 2026-09-06 20:13:51 +03:00
BSD: Add support (#140)
* BSD: Add support * BSD: other fixes There is still a bug when vgui haven't got text, maybe because of resources. Also there is bug where when trying to start new game caption names shows wrong. * BSD: Debugging * BSD: modify preprocessor and fix windows * BSD: Remove debugging and fix labels in gameui * BSD: Remove disabling some DX9 commands * BSD: Remove -g flag
This commit is contained in:
@@ -1527,7 +1527,7 @@ void CBaseFileSystem::DoAsyncCallback( const FileAsyncRequest_t &request, void *
|
||||
if ( pDataToFree )
|
||||
{
|
||||
Assert( !request.pfnAlloc );
|
||||
#if defined( OSX ) || defined( LINUX )
|
||||
#if defined( OSX ) || defined( LINUX ) || defined(BSD)
|
||||
// The ugly delete[] (void*) method generates a compile warning on osx, as it should.
|
||||
free( pDataToFree );
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user