Revert "render flag"

This reverts commit ed681f4d08.
This commit is contained in:
pypy
2021-03-08 21:12:21 +09:00
parent 291169fce0
commit 260ea0a541
-6
View File
@@ -20,7 +20,6 @@ namespace VRCX
private GCHandle _paintBuffer;
private int _width;
private int _height;
private bool _dirty;
public OffScreenBrowser(string address, int width, int height)
: base(
@@ -62,9 +61,6 @@ namespace VRCX
public void RenderToTexture(Texture2D texture)
{
if (_dirty == true)
{
_dirty = false;
_paintBufferLock.EnterReadLock();
try
{
@@ -114,7 +110,6 @@ namespace VRCX
_paintBufferLock.ExitReadLock();
}
}
}
ScreenInfo? IRenderHandler.GetScreenInfo()
{
@@ -178,7 +173,6 @@ namespace VRCX
{
_paintBufferLock.ExitWriteLock();
}
_dirty = true;
}
}