ps
This commit is contained in:
1 parent
30476a880d
commit
7c8bbe6473
3 files changed
+50
-20
No files matched your search
@@ -80,16 +80,18 @@ final class RenderGLView: NSOpenGLView {
|
||||
|
||||
override func reshape() {
|
||||
super.reshape()
|
||||
otherPrintStderr("RenderGLView reshape bounds \(bounds) backing \(convertToBacking(bounds))")
|
||||
needsDisplay = true
|
||||
renderSet(F.didReshape, true)
|
||||
|
||||
let ps = renderPixelSize(self)
|
||||
renderSet(F.reshapePixelSize, ps)
|
||||
}
|
||||
|
||||
override func viewDidChangeBackingProperties() {
|
||||
super.viewDidChangeBackingProperties()
|
||||
otherPrintStderr("RenderGLView viewDidChangeBackingProperties bounds \(bounds) backing \(convertToBacking(bounds))")
|
||||
needsDisplay = true
|
||||
renderSet(F.didChangeBacking, true)
|
||||
|
||||
let ps = renderPixelSize(self)
|
||||
renderSet(F.backingPixelSize, ps)
|
||||
}
|
||||
|
||||
override func draw(_ dirtyRect: NSRect) {
|
||||
|
||||
Reference in new issue
Block a user