Get rid of Sys_FlushCacheMemory()

Stub on all platforms.
This commit is contained in:
dhewg 2012-01-08 11:59:46 +01:00
parent 9542663097
commit 438685e6e6
3 changed files with 0 additions and 21 deletions

View file

@ -336,13 +336,6 @@ void Sys_SetClipboardData( const char *string ) {
Sys_Printf( "TODO: Sys_SetClipboardData\n" );
}
// stub pretty much everywhere - heavy calling
void Sys_FlushCacheMemory(void *base, int bytes)
{
// Sys_Printf("Sys_FlushCacheMemory stub\n");
}
bool Sys_FPU_StackIsEmpty( void ) {
return true;
}

View file

@ -54,9 +54,6 @@ void Sys_CreateThread( xthread_t function, void *parms, xthreadInfo& info, const
void Sys_DestroyThread( xthreadInfo& info ) {
}
void Sys_FlushCacheMemory( void *base, int bytes ) {
}
void Sys_Error( const char *error, ... ) {
va_list argptr;
char text[4096];

View file

@ -70,17 +70,6 @@ void Sys_GetExeLaunchMemoryStatus( sysMemoryStats_t &stats ) {
stats = exeLaunchMemoryStats;
}
/*
==================
Sys_FlushCacheMemory
On windows, the vertex buffers are write combined, so they
don't need to be flushed from the cache
==================
*/
void Sys_FlushCacheMemory( void *base, int bytes ) {
}
/*
=============
Sys_Error