}
};
-IMPLEMENT_STANDARD_HANDLE (OpenGl_LineAttributes, OpenGl_Resource)
-IMPLEMENT_STANDARD_RTTIEXT(OpenGl_LineAttributes, OpenGl_Resource)
// =======================================================================
// function : OpenGl_LineAttributes
void OpenGl_LineAttributes::SetTypeOfHatch (const int theType) const
{
#if !defined(GL_ES_VERSION_2_0)
+ if (myPatternBase == 0)
+ {
+ return;
+ }
+
if (theType != 0)
{
glCallList ((GLuint )myPatternBase + (GLuint )theType);