Commit e703e047 authored by Robert Menzel's avatar Robert Menzel
Browse files

fixed texture binding

parent a256f626
......@@ -125,7 +125,7 @@ private:
void attachBufferToTexture() {
assert( Buffer::getSize() > 0 && "glTexBuffer will fail if the buffer is empty" );
glTexBuffer( GL_TEXTURE_BUFFER, mDataType, Buffer::getObjectName() );
Supports Markdown
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