GL seems to unbind current texture when buffers are swapped and
GL_TEXTURE_2D is disabled. Application needs to either explicitly re-bind
current texture after buffer-swap, or re-enable GL_TEXTURE_2D just before
buffer-swap. Believe this is incorrect behaviour, and state of
currently-bound texture should not be lost over a buffer-swap when
GL_TEXTURE_2D has been disabled.