Added pthreads
Sent texturesize to shader