Skip to content

Commit

Permalink
Looking for cause of non-render
Browse files Browse the repository at this point in the history
Currently breakpointing the suspect area.

Refs #7802
  • Loading branch information
keithnbrown committed Aug 22, 2013
1 parent 0525c22 commit 84d5050
Showing 1 changed file with 9 additions and 1 deletion.
Expand Up @@ -46,7 +46,15 @@ namespace Mantid

void GluGeometryRenderer::RenderCone(const V3D& center,const V3D& axis,double radius,double height)
{
while(glGetError() != GL_NO_ERROR);
while(true)
{
auto testpoint = glGetError();
if (glGetError() == GL_NO_ERROR)
{
break;
}
}

CreateCone(center,axis,radius,height);
}

Expand Down

0 comments on commit 84d5050

Please sign in to comment.