As of version 5.5, Qt supports choosing and loading the OpenGL
implementation at runtime. Therefore native OpenGL calls may fail to link.
The recomended approach is to use OpenGL calls via QOpenGLFunctions class.
Signed-off-by: Dan Nechita <Dan.Nechita@analog.com>
In some cases, an update of the PhosphorRender material is not
triggered.
One easily-reproducible bug this fixes:
1. Open pp2
2. Before starting, switch to continuous mode
3. Press start
4. The plot is blank until you click the window
Fixes:
- unused variables
- comparison between different data types
- the order of members initializers for a contructor
Signed-off-by: Dan Nechita <Dan.Nechita@analog.com>