1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

[util] Add convenience method to return public/private references

This commit is contained in:
Philip Rebohle 2019-07-17 19:59:50 +02:00
parent af8e1a3d47
commit 21a2ce045f
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -121,6 +121,9 @@ namespace dxvk {
T* ptr() const {
return m_ptr;
}
Com<T, true> pubRef() const { return m_ptr; }
Com<T, false> prvRef() const { return m_ptr; }
private: