Error may not be in GL context creation but in initializing nanovg