pyqtgraph/pyqtgraph — pull request #108 by jdreaver (2014-10-15 13:29:26+00:00)
Title: Fix memory leak in GLScatterPlotItem

Fixes #103. If a ScatterPlotItem was removed from a plot and added again, glGenTetures was called again unneccesarily. Each time it is called, it eats up a little more space.

We agreed that this solution was fine, since `pyqtgraph.opengl` items should't be used in multiple contexts.

Thanks!