Alchemerge
Applies the following alchemy patches: 28fe46209ea5: Don't spam setPaused in fmod studio audio stream code eb12ff41434a: Fix single click to walk triggering on huds 31955a7826b9: Fix double click to walk being triggered by huds and touchable objects Fix double click to walk triggering while sitting and flying Fix double click to walk behavior being inconsistent with single click to walk Fix double click teleport being affected by transparent objects Properly fixes MAINT-957 Compile stuff updates: Adds VCRedist to package, should fix failure to launch reported by Nomade Zhao. Updates package_description to better suit Singularity Turns secondlife-bin in places to singularity-bin Updates the following libraries: Curl (7.47.0), gperftools (0.0.2), openssl (1.0.2f), SLVoice on Linux64,
This commit is contained in:
@@ -183,11 +183,11 @@ HRESULT GetVideoMemoryViaWMI( WCHAR* strInputDeviceID, DWORD* pdwAdapterRam )
|
||||
SAFE_RELEASE( pVideoControllers[iController] );
|
||||
}
|
||||
}
|
||||
SAFE_RELEASE(pEnumVideoControllers);
|
||||
}
|
||||
|
||||
if( pClassName )
|
||||
SysFreeString( pClassName );
|
||||
SAFE_RELEASE( pEnumVideoControllers );
|
||||
}
|
||||
|
||||
if( pNamespace )
|
||||
@@ -206,7 +206,7 @@ HRESULT GetVideoMemoryViaWMI( WCHAR* strInputDeviceID, DWORD* pdwAdapterRam )
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
void get_wstring(IDxDiagContainer* containerp, WCHAR* wszPropName, WCHAR* wszPropValue, int outputSize)
|
||||
void get_wstring(IDxDiagContainer* containerp, const WCHAR* wszPropName, WCHAR* wszPropValue, int outputSize)
|
||||
{
|
||||
HRESULT hr;
|
||||
VARIANT var;
|
||||
@@ -219,10 +219,10 @@ void get_wstring(IDxDiagContainer* containerp, WCHAR* wszPropName, WCHAR* wszPro
|
||||
switch( var.vt )
|
||||
{
|
||||
case VT_UI4:
|
||||
swprintf( wszPropValue, L"%d", var.ulVal ); /* Flawfinder: ignore */
|
||||
swprintf(wszPropValue, outputSize, L"%d", var.ulVal); /* Flawfinder: ignore */
|
||||
break;
|
||||
case VT_I4:
|
||||
swprintf( wszPropValue, L"%d", var.lVal ); /* Flawfinder: ignore */
|
||||
swprintf(wszPropValue, outputSize, L"%d", var.lVal); /* Flawfinder: ignore */
|
||||
break;
|
||||
case VT_BOOL:
|
||||
wcscpy( wszPropValue, (var.boolVal) ? L"true" : L"false" ); /* Flawfinder: ignore */
|
||||
@@ -237,7 +237,7 @@ void get_wstring(IDxDiagContainer* containerp, WCHAR* wszPropName, WCHAR* wszPro
|
||||
VariantClear( &var );
|
||||
}
|
||||
|
||||
std::string get_string(IDxDiagContainer *containerp, WCHAR *wszPropName)
|
||||
std::string get_string(IDxDiagContainer *containerp, const WCHAR *wszPropName)
|
||||
{
|
||||
WCHAR wszPropValue[256];
|
||||
get_wstring(containerp, wszPropName, wszPropValue, 256);
|
||||
@@ -452,9 +452,9 @@ BOOL LLDXHardware::getInfo(BOOL vram_only)
|
||||
hr = CoInitialize(NULL);
|
||||
if (FAILED(hr))
|
||||
{
|
||||
LL_WARNS("AppInit") << "COM library initialization failed!" << LL_ENDL;
|
||||
gWriteDebug("COM library initialization failed!\n");
|
||||
return FALSE;
|
||||
LL_WARNS() << "COM initialization failure!" << LL_ENDL;
|
||||
gWriteDebug("COM initialization failure!\n");
|
||||
return ok;
|
||||
}
|
||||
|
||||
IDxDiagProvider *dx_diag_providerp = NULL;
|
||||
@@ -507,8 +507,6 @@ BOOL LLDXHardware::getInfo(BOOL vram_only)
|
||||
goto LCleanup;
|
||||
}
|
||||
|
||||
HRESULT hr;
|
||||
|
||||
// Get display driver information
|
||||
LL_DEBUGS("AppInit") << "dx_diag_rootp->GetChildContainer" << LL_ENDL;
|
||||
hr = dx_diag_rootp->GetChildContainer(L"DxDiag_DisplayDevices", &devices_containerp);
|
||||
@@ -718,8 +716,8 @@ LLSD LLDXHardware::getDisplayInfo()
|
||||
hr = CoInitialize(NULL);
|
||||
if (FAILED(hr))
|
||||
{
|
||||
LL_WARNS("AppInit") << "COM library initialization failed!" << LL_ENDL;
|
||||
gWriteDebug("COM library initialization failed!\n");
|
||||
LL_WARNS() << "COM initialization failure!" << LL_ENDL;
|
||||
gWriteDebug("COM initialization failure!\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -772,8 +770,6 @@ LLSD LLDXHardware::getDisplayInfo()
|
||||
goto LCleanup;
|
||||
}
|
||||
|
||||
HRESULT hr;
|
||||
|
||||
// Get display driver information
|
||||
LL_INFOS() << "dx_diag_rootp->GetChildContainer" << LL_ENDL;
|
||||
hr = dx_diag_rootp->GetChildContainer(L"DxDiag_DisplayDevices", &devices_containerp);
|
||||
|
||||
Reference in New Issue
Block a user