delete empty resizeGL()
This commit is contained in:
parent
ee9b1565bd
commit
025ca08574
@ -152,11 +152,6 @@ class GLViewWidget(QtWidgets.QOpenGLWidget):
|
||||
def devicePixelRatio(self):
|
||||
return self.devicePixelRatioF()
|
||||
|
||||
def resizeGL(self, w, h):
|
||||
pass
|
||||
#glViewport(*self.getViewport())
|
||||
#self.update()
|
||||
|
||||
def setProjection(self, region=None):
|
||||
m = self.projectionMatrix(region)
|
||||
glMatrixMode(GL_PROJECTION)
|
||||
|
Loading…
x
Reference in New Issue
Block a user