mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-15 05:16:18 +08:00
RPF Explorer drag & drop folders, delete folders with items, render bug fix
This commit is contained in:
@@ -34,9 +34,13 @@ namespace CodeWalker.Rendering
|
||||
}
|
||||
public void Update(DeviceContext context)
|
||||
{
|
||||
var dataBox = context.MapSubresource(Buffer, 0, MapMode.WriteDiscard, MapFlags.None);
|
||||
Utilities.Write(dataBox.DataPointer, ref Vars);
|
||||
context.UnmapSubresource(Buffer, 0);
|
||||
try
|
||||
{
|
||||
var dataBox = context.MapSubresource(Buffer, 0, MapMode.WriteDiscard, MapFlags.None);
|
||||
Utilities.Write(dataBox.DataPointer, ref Vars);
|
||||
context.UnmapSubresource(Buffer, 0);
|
||||
}
|
||||
catch { } //not much we can do about this except ignore it..
|
||||
}
|
||||
public void SetVSCBuffer(DeviceContext context, int slot)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user