enumerate resolutions
use mixed case for prefs values
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include "RageTypes.h"
|
||||
#include "RageUtil.h"
|
||||
#include "RageSurface.h"
|
||||
#include "DisplayResolutions.h"
|
||||
|
||||
static RageDisplay::PixelFormatDesc PIXEL_FORMAT_DESC[NUM_PixelFormat] = {
|
||||
{
|
||||
@@ -77,6 +78,13 @@ RageDisplay_Null::RageDisplay_Null( VideoModeParams p )
|
||||
SetVideoMode( p, bIgnore );
|
||||
}
|
||||
|
||||
void RageDisplay_Null::GetDisplayResolutions( DisplayResolutions &out ) const
|
||||
{
|
||||
out.s.clear();
|
||||
DisplayResolution res = { 640, 480 };
|
||||
out.s.insert( res );
|
||||
}
|
||||
|
||||
RageSurface* RageDisplay_Null::CreateScreenshot()
|
||||
{
|
||||
const PixelFormatDesc &desc = PIXEL_FORMAT_DESC[PixelFormat_RGB8];
|
||||
|
||||
Reference in New Issue
Block a user