summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewerwin32.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-10-28 12:14:27 -0700
committerMerov Linden <merov@lindenlab.com>2013-10-28 12:14:27 -0700
commit026b528b86a853a923ec87dd3897fe2079cbd539 (patch)
treeb31ec200f751a5c0817a6e628ae6e6c4f394bf77 /indra/newview/llappviewerwin32.cpp
parentee74eb1a9ee8e2aba49613cf434f1272a4526417 (diff)
parentea1e1b0925b386cf83178539b8eae9e25c573548 (diff)
Pull merge from lindenlab/viewer-release
Diffstat (limited to 'indra/newview/llappviewerwin32.cpp')
-rwxr-xr-xindra/newview/llappviewerwin32.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/indra/newview/llappviewerwin32.cpp b/indra/newview/llappviewerwin32.cpp
index 3cf3c739d9..80a80f4298 100755
--- a/indra/newview/llappviewerwin32.cpp
+++ b/indra/newview/llappviewerwin32.cpp
@@ -172,21 +172,20 @@ void ll_nvapi_init(NvDRSSessionHandle hSession)
nvapi_error(status);
return;
}
+
+ // (5) Now we apply (or save) our changes to the system
+ status = NvAPI_DRS_SaveSettings(hSession);
+ if (status != NVAPI_OK)
+ {
+ nvapi_error(status);
+ return;
+ }
}
else if (status != NVAPI_OK)
{
nvapi_error(status);
return;
}
-
-
-
- // (5) Now we apply (or save) our changes to the system
- status = NvAPI_DRS_SaveSettings(hSession);
- if (status != NVAPI_OK)
- {
- nvapi_error(status);
- }
}
//#define DEBUGGING_SEH_FILTER 1