willRecreateSurface

This commit is contained in:
Михаил Капелько committed 2026-10-29 23:38:53 +03:00
1 parent de36ad782c
commit ea68f48608
5 files changed
+44 -3

No files matched your search

@@ -25,9 +25,6 @@ final class RenderGLView: UIView {
override func layoutSubviews() {
super.layoutSubviews()
if st.surface != nil {
guard eglResetSurface(&st), eglMakeCurrentContext(&st) else { fatalError("ERROR Could not reset EGL surface") }
}
let ps = renderPixelSize(self)
renderSet(F.reshapePixelSize, ps)
}