mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-07 15:44:59 -06:00
Fix init order for gpu_debug_marker
This commit is contained in:
parent
4a138aa918
commit
08c1a14b13
@ -212,7 +212,7 @@ namespace vk
|
|||||||
}
|
}
|
||||||
|
|
||||||
gpu_debug_marker::gpu_debug_marker(gpu_debug_marker_pool& pool, std::string message)
|
gpu_debug_marker::gpu_debug_marker(gpu_debug_marker_pool& pool, std::string message)
|
||||||
: m_device(*pool.pdev), m_message(std::move(message))
|
: m_message(std::move(message)), m_device(*pool.pdev)
|
||||||
{
|
{
|
||||||
std::tie(m_buffer, m_buffer_offset, m_value) = pool.allocate();
|
std::tie(m_buffer, m_buffer_offset, m_value) = pool.allocate();
|
||||||
*m_value = 0xCAFEBABE;
|
*m_value = 0xCAFEBABE;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user