Update F5 key behaviour to cycle all buffered rendering modes.

This commit is contained in:
The Dax 2013-07-23 17:05:58 -04:00
parent 3139c5f97f
commit faa2932c88
3 changed files with 22 additions and 0 deletions

View File

@ -743,6 +743,28 @@ namespace MainWindow
setRenderingMode(3);
break;
case ID_OPTIONS_BUFFEREDRENDERINGDUMMY:
g_Config.iRenderingMode = ++g_Config.iRenderingMode > 3? 0 : g_Config.iRenderingMode;
switch(g_Config.iRenderingMode) {
case 0:
osm.Show(g->T("Non-Buffered Rendering"));
break;
case 1:
osm.Show(g->T("Buffered Rendering"));
break;
case 2:
osm.Show(g->T("Read Framebuffer to Memory (CPU)"));
break;
case 3:
osm.Show(g->T("Read Framebuffer to Memory (GPU)"));
break;
}
setRenderingMode(g_Config.iRenderingMode);
break;
case ID_OPTIONS_SHOWDEBUGSTATISTICS:
g_Config.bShowDebugStats = !g_Config.bShowDebugStats;
break;

Binary file not shown.

Binary file not shown.