Skip to content

Commit

Permalink
AMFVulkanDeviceを取得する関数を改名。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Dec 6, 2024
1 parent e26101b commit 8c92b55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VCECore/rgy_device_vulkan.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class DeviceVulkan {

RGYVulkanFuncs *GetVulkan();
#if ENCODER_VCEENC
amf::AMFVulkanDevice *GetDevice();
amf::AMFVulkanDevice *GetAMFDevice();
#endif
const std::string& GetDisplayDeviceName() const { return m_displayDeviceName; }
const uint8_t *GetUUID() const { return m_uuid; }
Expand Down
2 changes: 1 addition & 1 deletion VCECore/vce_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ RGY_ERR VCEDevice::init(const int deviceId, const bool interopD3d9, const bool i
PrintMes(RGY_LOG_ERROR, _T("Failed to get vulkan device.\n"));
return RGY_ERR_DEVICE_LOST;
}
amferr = amf::AMFContext1Ptr(m_context)->InitVulkan(m_vk.GetDevice());
amferr = amf::AMFContext1Ptr(m_context)->InitVulkan(m_vk.GetAMFDevice());
}
if (amferr != AMF_OK) {
PrintMes(RGY_LOG_ERROR, _T("Failed to init AMF context by vulkan.\n"));
Expand Down

0 comments on commit 8c92b55

Please sign in to comment.