add antialiasing code
This commit is contained in:
parent
4cc7901c2d
commit
0ce01c7b58
@ -35,6 +35,11 @@ class SketchWidget:
|
||||
# GL calls
|
||||
if not gldrawable.gl_begin(glcontext): return
|
||||
|
||||
# glEnable(GL_BLEND)
|
||||
# glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)
|
||||
# glEnable(GL_POLYGON_SMOOTH)
|
||||
# glEnable(GL_LINE_SMOOTH)
|
||||
|
||||
gldrawable.gl_end()
|
||||
|
||||
def reshape(self, glarea, event):
|
||||
|
Loading…
x
Reference in New Issue
Block a user