Index: Source/core/html/canvas/WebGLRenderingContext.cpp |
diff --git a/Source/core/html/canvas/WebGLRenderingContext.cpp b/Source/core/html/canvas/WebGLRenderingContext.cpp |
index 52f7ae846eca77ec778acd8a596392ebbac0f4e1..5befaf17b698df3e7cb2cf17239aa738751c1aef 100644 |
--- a/Source/core/html/canvas/WebGLRenderingContext.cpp |
+++ b/Source/core/html/canvas/WebGLRenderingContext.cpp |
@@ -92,7 +92,9 @@ PassOwnPtrWillBeRawPtr<WebGLRenderingContext> WebGLRenderingContext::create(HTML |
statusMessage.append("Could not create a WebGL context. "); |
statusMessage.append(glInfo.contextInfoCollectionFailure); |
} else { |
- statusMessage.append("Could not create a WebGL context"); |
+ statusMessage.append("Could not create a WebGL context. "); |
+ statusMessage.append("VendorId = " + String::number(glInfo.vendorId)); |
+ statusMessage.append(", DriverId = " + String::number(glInfo.deviceId)); |
if (!glInfo.vendorInfo.isEmpty()) { |
statusMessage.append(" VendorInfo = "); |
Ken Russell (switch to Gerrit)
2015/01/15 19:30:39
Please add a leading comma here to keep the format
sivag
2015/01/29 05:49:36
Done.
|
statusMessage.append(glInfo.vendorInfo); |