Introduce chkgfx #3
@@ -101,11 +101,6 @@ final class RenderGLView: NSOpenGLView {
|
||||
|
||||
// Update pixel size
|
||||
let pixelSize = renderPixelSize(self)
|
||||
/*
|
||||
let backing = convertToBacking(bounds)
|
||||
pixelWidth = Int32(max(1, backing.width))
|
||||
pixelHeight = Int32(max(1, backing.height))
|
||||
*/
|
||||
|
||||
sr_resize(pixelSize[0], pixelSize[1])
|
||||
|
||||
|
||||
Reference in new issue
Block a user