[Bug 41157] DX11 game "Heretics" crashes with an error message after game menu is loaded
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Aug 18 01:46:19 CDT 2016
https://bugs.winehq.org/show_bug.cgi?id=41157
Józef Kucia <joseph.kucia at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joseph.kucia at gmail.com
--- Comment #3 from Józef Kucia <joseph.kucia at gmail.com> ---
Created attachment 55381
--> https://bugs.winehq.org/attachment.cgi?id=55381
Hack
The game seems to be broken. It uses SRVs after releasing them.
Excerpt of the source code:
---
Engine::Graphics::Texture2D::Texture2D(ID3D11ShaderResourceView *pSRView, UINT
width, UINT height)
{
m_texture2d = pSRView;
m_info.Width = width;
m_info.Height = height;
}
Engine::Graphics::Texture2D::~Texture2D(void)
{
SafeRelease(&m_texture2d);
}
---
The constructor should AddRef "pSRView".
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list