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