need glewInit.
This commit is contained in:
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user