fix for windows. removed thread for updating texture.

This commit is contained in:
Michael Nilsson
2016-03-30 17:26:05 -04:00
parent 378766b55a
commit 0feb7fb771
6 changed files with 17 additions and 13 deletions
-2
View File
@@ -68,8 +68,6 @@ TexturePlane::~TexturePlane(){
bool TexturePlane::initialize(){
ISWACygnet::initialize();
std::thread t = std::thread(std::bind(&TexturePlane::updateTexture, this));
t.detach();
glGenVertexArrays(1, &_quad); // generate array
glGenBuffers(1, &_vertexPositionBuffer); // generate buffer
createPlane();