mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
v2019.08.21
This commit is contained in:
@@ -52,7 +52,7 @@ namespace VRCX
|
||||
{
|
||||
var context = m_Texture.Device.ImmediateContext;
|
||||
var box = context.MapSubresource(m_Texture, 0, MapMode.WriteDiscard, MapFlags.None);
|
||||
if (box.IsEmpty)
|
||||
if (!box.IsEmpty)
|
||||
{
|
||||
if (box.RowPitch == H.Width * 4)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user