>As some of you already suggested: I also changed, that glBindBuffer, glVertexPointer and glTexturePointer
>are only called before drawing ALL blocks and not before drawing every block.
So... you still bind a texture for each block? Make all of them use the same one.
By the way, a simple optimization for simple wrapper libraries is to keep track of the currently bound texture... and then you only bind it if it isn't already bound.
>are only called before drawing ALL blocks and not before drawing every block.
So... you still bind a texture for each block? Make all of them use the same one.
By the way, a simple optimization for simple wrapper libraries is to keep track of the currently bound texture... and then you only bind it if it isn't already bound.