From f8961df221cc752e54efa800a3a653704d5eafc9 Mon Sep 17 00:00:00 2001 From: gibbed Date: Tue, 22 May 2018 06:23:37 -0500 Subject: [PATCH] Fix Travis complaints, as usual. --- src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc | 2 +- src/xenia/ui/vulkan/vulkan_device.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc b/src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc index dec7466de..3abd66a6b 100644 --- a/src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc +++ b/src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc @@ -46,7 +46,7 @@ void VdGetCurrentDisplayGamma(lpdword_t type_ptr, lpfloat_t unknown_ptr) { }; */ *type_ptr = 1; - *unknown_ptr = 1.0f; // maybe brightness? + *unknown_ptr = 2.22222233f; // maybe brightness? } DECLARE_XBOXKRNL_EXPORT(VdGetCurrentDisplayGamma, ExportTag::kVideo); diff --git a/src/xenia/ui/vulkan/vulkan_device.h b/src/xenia/ui/vulkan/vulkan_device.h index 5056673d5..498e6da28 100644 --- a/src/xenia/ui/vulkan/vulkan_device.h +++ b/src/xenia/ui/vulkan/vulkan_device.h @@ -111,7 +111,8 @@ class VulkanDevice { std::vector enabled_extensions_; bool debug_marker_ena_ = false; - PFN_vkDebugMarkerSetObjectNameEXT pfn_vkDebugMarkerSetObjectNameEXT_ = nullptr; + PFN_vkDebugMarkerSetObjectNameEXT pfn_vkDebugMarkerSetObjectNameEXT_ = + nullptr; PFN_vkCmdDebugMarkerBeginEXT pfn_vkCmdDebugMarkerBeginEXT_ = nullptr; PFN_vkCmdDebugMarkerEndEXT pfn_vkCmdDebugMarkerEndEXT_ = nullptr; PFN_vkCmdDebugMarkerInsertEXT pfn_vkCmdDebugMarkerInsertEXT_ = nullptr;