Templatized OpenGLWidget so users can specify the version of OpenGL to support.
This commit is contained in:
@ -39,7 +39,7 @@ struct OpenGLMeshData
|
||||
float scale;
|
||||
};
|
||||
|
||||
class PolyVoxExample : public OpenGLWidget
|
||||
class PolyVoxExample : public OpenGLWidget<QOpenGLFunctions_3_1>
|
||||
{
|
||||
public:
|
||||
PolyVoxExample(QWidget *parent)
|
||||
|
Reference in New Issue
Block a user