remove debug logs from FSGHeadMountDisplay::GetDeviceType()
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
#include "Engine/Engine.h"
|
||||
#include "IHeadMountedDisplay.h"
|
||||
#include "IXRTrackingSystem.h"
|
||||
#include "SGLog/SGLog.h"
|
||||
|
||||
FName FSGHeadMountDisplay::GetDeviceName()
|
||||
{
|
||||
@@ -211,17 +210,6 @@ bool FSGHeadMountDisplay::IsHtcViveFocus3()
|
||||
|
||||
ESGHeadMountDisplayDevice FSGHeadMountDisplay::GetDeviceType()
|
||||
{
|
||||
if (GEngine->XRSystem.IsValid() && GEngine->XRSystem->IsHeadTrackingAllowed())
|
||||
{
|
||||
IHeadMountedDisplay::MonitorInfo HmdMonitorInfo;
|
||||
IHeadMountedDisplay* Device{GEngine->XRSystem->GetHMDDevice()};
|
||||
Device->GetHMDMonitorInfo(HmdMonitorInfo);
|
||||
const int32 ResX = HmdMonitorInfo.ResolutionX;
|
||||
const int32 ResY = HmdMonitorInfo.ResolutionY;
|
||||
SGLOG(HmdMonitorInfo.MonitorName, ResX, ResY, HmdMonitorInfo.DesktopX, HmdMonitorInfo.DesktopY,
|
||||
HmdMonitorInfo.WindowSizeX, HmdMonitorInfo.WindowSizeY);
|
||||
}
|
||||
|
||||
if (IsMetaQuest2())
|
||||
{
|
||||
return ESGHeadMountDisplayDevice::MetaQuest2;
|
||||
|
||||
Reference in New Issue
Block a user