summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewerwin32.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-11-04 11:53:49 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-11-04 11:53:49 -0500
commit8188a8c410807debd2d7d40d0299c36b92e56ca3 (patch)
tree68a586a4f32bfd1f395c4942701813e002047622 /indra/newview/llappviewerwin32.cpp
parent2dbf6569a77c37d7c7ecc684dd417ddbbb7c6bab (diff)
parent6ed4c84a30e8f4044ccaedba114e13e07ae5c46d (diff)
merge
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