mirror of
https://github.com/isledecomp/LEGOIslandRebuilder.git
synced 2025-02-17 00:20:40 -05:00
implement back buffers option
This commit is contained in:
parent
cbd5b91141
commit
ba305938a0
2 changed files with 9 additions and 0 deletions
|
@ -189,6 +189,11 @@ LONG WINAPI InterceptRegQueryValueExA(HKEY hKey, LPCSTR lpValueName, LPDWORD lpR
|
|||
ReturnRegistryYESNOFromBool(lpData, config.GetInt(_T("FlipSurfaces"), 0));
|
||||
return ERROR_SUCCESS;
|
||||
|
||||
} else if (!strcmp(lpValueName, "Back Buffers in Video RAM")) {
|
||||
|
||||
ReturnRegistryYESNOFromBool(lpData, config.GetInt(_T("BackBuffersInVRAM"), 0));
|
||||
return ERROR_SUCCESS;
|
||||
|
||||
} else if (!strcmp(lpValueName, "3D Device ID")) {
|
||||
|
||||
std::string dev_id = config.GetString("D3DDeviceID");
|
||||
|
|
|
@ -151,6 +151,10 @@ PatchGrid::PatchGrid()
|
|||
_T(""), // FIXME: Write description for this
|
||||
AddBoolItem(sectionGraphics, _T("Flip Video Memory Pages"), false));
|
||||
|
||||
AddPatch("BackBuffersInVRAM",
|
||||
_T(""), // FIXME: Write description for this
|
||||
AddBoolItem(sectionGraphics, _T("Draw 3D to Video Memory"), false));
|
||||
|
||||
vector<string> fpsList;
|
||||
fpsList.push_back(_T("Default"));
|
||||
fpsList.push_back(_T("Uncapped"));
|
||||
|
|
Loading…
Reference in a new issue