Skip to content

Commit 811dc37

Browse files
committed
fix after reset restoration
1 parent c245346 commit 811dc37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/imgui_impl_dx9_custom.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ class d912pxy_renderer
119119
vstream = nullptr;
120120
activeOffset = 0;
121121
lastOffset = 0;
122+
size = 0;
122123
}
123124

124125
int getBindingOffset()
@@ -452,6 +453,9 @@ class d912pxy_renderer
452453
vdecl = nullptr;
453454

454455
drawPSO = nullptr;
456+
457+
oldAuxBuff.displaySizeX = -1;
458+
oldAuxBuff.displaySizeY = -1;
455459
}
456460

457461
void onFrameEnd()

0 commit comments

Comments
 (0)