mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-09 01:29:23 +00:00
Fix init order for gpu_debug_marker
This commit is contained in:
parent
4a138aa918
commit
08c1a14b13
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue