void256/nifty-gui — pull request #210 by 3xp0n3nt (2014-01-25 15:19:06+00:00)
Title: Fix rendering bug.

In CoreTexture2D the createTexture method in the constructor was making
use of the CoreGL instance before it was assigned from the constructor.
The solution is very simple, move the assignment of the CoreGL instance
above the createTexture method, so nothing in this class can use it
before it's assigned. The stacktrace printing in LoggerShortFormat
revealed the source of this problem easily.