enumerate resolutions

use mixed case for prefs values
This commit is contained in:
Chris Danford
2005-11-26 07:22:33 +00:00
parent b948f686cc
commit 730a113ed6
22 changed files with 246 additions and 103 deletions
+8
View File
@@ -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];