Comment 8 for bug 1098263

SirVer (sirver) wrote :

There is already code for this: in line 33. In fact, if you move the call to GLSurfaceTexture::Initialize() to inside the check for opengl and modify this a bit to maybe not throw (or if you catch the exception) you can fix this.

Wanna try?