@@ -199,7 +199,15 @@ THREE.WebGLRenderer = function ( parameters ) {
if ( _gl === null ) {
- throw 'Error creating WebGL context.';
+ if ( _canvas.getContext( 'webgl') !== null ) {
+
+ throw 'Error creating WebGL context with your selected attributes.';
+ } else {
+ throw 'Error creating WebGL context.';
+ }
}