How about explicitly stating in the documentation that a specific initialization function shall be called or an object must be created before doing anything else with SDL?
Virtual reality hello world http://www.rodneybrothers.com/vr/vrh...rld/index.html in html and javascript.
Viewable with dodocase, google cardboard, OR, and other compatible VR gear.