need glewInit.

This commit is contained in:
Mark Kim 2016-09-14 11:25:03 -04:00
parent c216c98c57
commit ecf57f8f31

@ -43,6 +43,7 @@ void RenderTriangles(MapperGL &mapper,
{ {
if (!mapper.loaded){ if (!mapper.loaded){
glewInit();
mapper.loaded = true; mapper.loaded = true;
std::vector<float> data, colors; std::vector<float> data, colors;