Force REVERT & rewind - Fix weird segfault

This commit is contained in:
Ben Kyd
2023-12-30 10:30:47 +00:00
parent 23b94fabba
commit 32834878b5
3 changed files with 37 additions and 1 deletions

View File

@@ -1 +0,0 @@

35
imgui.ini Normal file
View File

@@ -0,0 +1,35 @@
[Window][main]
Pos=0,0
Size=1920,1080
Collapsed=0
[Window][Inferno HART]
Pos=840,26
Size=1076,304
Collapsed=0
DockId=0x00000003,0
[Window][Debug##Default]
Pos=60,60
Size=400,400
Collapsed=0
[Window][Preview]
Pos=840,332
Size=1076,745
Collapsed=0
DockId=0x00000004,0
[Window][Render]
Pos=4,26
Size=834,1051
Collapsed=0
DockId=0x00000001,0
[Docking][Data]
DockSpace ID=0x9498A894 Window=0xBF28CD64 Pos=4,26 Size=1912,1051 Split=X
DockNode ID=0x00000001 Parent=0x9498A894 SizeRef=834,1051 CentralNode=1 Selected=0x81AED595
DockNode ID=0x00000002 Parent=0x9498A894 SizeRef=1076,1051 Split=Y Selected=0x83AD8318
DockNode ID=0x00000003 Parent=0x00000002 SizeRef=1076,286 Selected=0x83AD8318
DockNode ID=0x00000004 Parent=0x00000002 SizeRef=1076,700 Selected=0x382916D5

View File

@@ -164,6 +164,8 @@ DynamicCPUTarget* dynamic_rendertarget_create(
target->StagingBuffer = generic_buffer_create(device, 0,
extent.width * extent.height * 4, VK_BUFFER_USAGE_TRANSFER_SRC_BIT,
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT);
return target;
}
void dynamic_rendertarget_cleanup(DynamicCPUTarget* target) { }