source-engine/togles/linuxwin/asanstubs.cpp

18 lines
1.2 KiB
C++
Raw Normal View History

2021-11-21 05:48:13 +08:00
typedef unsigned int uint;
2021-11-21 06:38:59 +08:00
#include "../public/togles/linuxwin/glmdisplay.h"
#include "../public/togles/linuxwin/glmdisplaydb.h"
2021-11-21 05:48:13 +08:00
void GLMDisplayDB::PopulateRenderers( void ) { }
void GLMDisplayDB::PopulateFakeAdapters( uint realRendererIndex ) { } // fake adapters = one real adapter times however many displays are on
void GLMDisplayDB::Populate( void ) { }
int GLMDisplayDB::GetFakeAdapterCount( void ) { return 1; }
bool GLMDisplayDB::GetFakeAdapterInfo( int fakeAdapterIndex, int *rendererOut, int *displayOut, GLMRendererInfoFields *rendererInfoOut, GLMDisplayInfoFields *displayInfoOut ) { return true; }
int GLMDisplayDB::GetRendererCount( void ) { return 1; }
bool GLMDisplayDB::GetRendererInfo( int rendererIndex, GLMRendererInfoFields *infoOut ) { return true; }
int GLMDisplayDB::GetDisplayCount( int rendererIndex ) { return 1; }
bool GLMDisplayDB::GetDisplayInfo( int rendererIndex, int displayIndex, GLMDisplayInfoFields *infoOut ) { return true; }
int GLMDisplayDB::GetModeCount( int rendererIndex, int displayIndex ) { }
bool GLMDisplayDB::GetModeInfo( int rendererIndex, int displayIndex, int modeIndex, GLMDisplayModeInfoFields *infoOut ) { return false; }
void GLMDisplayDB::Dump( void ) { }