mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 16:31:14 +01:00
[gpu] Fix line break in WebGPU error message
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
10f18a652f
commit
d35076bb28
2 files changed
+2
-4
No files matched your search
@@ -717,8 +717,7 @@ on_adapter (WGPURequestAdapterStatus status,
|
||||
EM_ASM ({
|
||||
var el = document.getElementById ('loading');
|
||||
if (el) {
|
||||
var html = 'WebGPU adapter not available.<br><br>' +
|
||||
'See <a href="https://github.com/gpuweb/gpuweb/wiki/Implementation-Status" ' +
|
||||
var html = 'WebGPU adapter not available.<br><br>See <a href="https://github.com/gpuweb/gpuweb/wiki/Implementation-Status" ' +
|
||||
'style="color:#88f">browser support</a>.';
|
||||
if (navigator.userAgent.indexOf ('Linux') !== -1 &&
|
||||
navigator.userAgent.indexOf ('Chrome') !== -1)
|
||||
|
||||
@@ -113,8 +113,7 @@ space: animate · b: dark mode · g: gamma · r: reset · =/-: zoom</span>
|
||||
/* Early WebGPU availability check */
|
||||
if (isWebGPU && !navigator.gpu) {
|
||||
var el = document.getElementById('loading');
|
||||
var html = 'WebGPU not available in this browser.<br><br>' +
|
||||
'See <a href="https://github.com/gpuweb/gpuweb/wiki/Implementation-Status" ' +
|
||||
var html = 'WebGPU not available in this browser.<br><br>See <a href="https://github.com/gpuweb/gpuweb/wiki/Implementation-Status" ' +
|
||||
'style="color:#88f">browser support</a>.';
|
||||
if (navigator.userAgent.indexOf('Linux') !== -1 &&
|
||||
navigator.userAgent.indexOf('Chrome') !== -1)
|
||||
|
||||
Reference in new issue
Block a user