Commit e703e047 authored by Robert Menzel's avatar Robert Menzel

fixed texture binding

parent a256f626
......@@ -125,7 +125,7 @@ private:
void attachBufferToTexture() {
assert( Buffer::getSize() > 0 && "glTexBuffer will fail if the buffer is empty" );
TextureNG::bind();
bindTexture();
openGLCriticalErrorOccured();
glTexBuffer( GL_TEXTURE_BUFFER, mDataType, Buffer::getObjectName() );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment