void256/nifty-gui — pull request #214 by 3xp0n3nt (2014-01-25 18:43:03+00:00)
Title: Fix rendering bug.

In CoreTexture2D constructor, call createTexture last after all other
fields have been initialized in order to prevent the createTexture
method from using any uninitialized values.

A NullPointerException was being thrown when the textureIdBuffer field
was not yet initialized, yet was attempted to be used by the
createTexture method.