Add explanation and enforce non-instantiability
Change-Id: I3ea699dcda21b695a486c86d7f7b7a8abc2a8fbe
This commit is contained in:
@@ -34,9 +34,11 @@
|
|||||||
} \
|
} \
|
||||||
} while (false)
|
} while (false)
|
||||||
|
|
||||||
class VCL_DLLPUBLIC OpenGLHelper
|
// All member functions static and VCL_DLLPUBLIC. Basically a glorified namespace.
|
||||||
|
struct VCL_DLLPUBLIC OpenGLHelper
|
||||||
{
|
{
|
||||||
public:
|
OpenGLHelper() SAL_DELETED_FUNCTION; // Should not be instantiated
|
||||||
|
|
||||||
static GLint LoadShaders(const OUString& rVertexShaderName, const OUString& rFragmentShaderName, const OString& preamble = "" );
|
static GLint LoadShaders(const OUString& rVertexShaderName, const OUString& rFragmentShaderName, const OString& preamble = "" );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -14,9 +14,11 @@
|
|||||||
|
|
||||||
#include <vcl/dllapi.h>
|
#include <vcl/dllapi.h>
|
||||||
|
|
||||||
class VCL_DLLPUBLIC OpenGLWrapper
|
// All member functions static and VCL_DLLPUBLIC. Basically a glorified namespace.
|
||||||
|
struct VCL_DLLPUBLIC OpenGLWrapper
|
||||||
{
|
{
|
||||||
public:
|
OpenGLWrapper() SAL_DELETED_FUNCTION; // Should not be instantiated
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if VCL has OpenGL rendering enabled
|
* Returns true if VCL has OpenGL rendering enabled
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user