Skip to content

Commit 013a0a3

Browse files
committed
Fix broken youtube playback
Equivalent to an unmerged PR [1], and should fix a youtube playback issue [2]. [1] ungoogled-software/ungoogled-chromium#3217 [2] ungoogled-software/ungoogled-chromium#3012
1 parent c94c8ef commit 013a0a3

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

debian/patches/series.debian

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ various/fixes/enterprise-buildflags.patch
8484
various/fixes/InkDropHost-crash.patch
8585
various/fixes/shim-fix-for-official-builds.patch
8686
various/fixes/silence-some-error-log-messages.patch
87+
various/fixes/spoof-webgl-renderer-info.patch
8788
various/fixes/swiftshader-build.patch
8889
various/fixes/template-correction.patch
8990
various/fixes/unbundle-script-dh-clean-interoperabilty.patch
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
--- a/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc
2+
+++ b/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc
3+
@@ -3833,7 +3833,8 @@
4+
pname, IdentifiabilityBenignStringToken(
5+
String(ContextGL()->GetString(GL_RENDERER))));
6+
}
7+
- return WebGLAny(script_state, String(""));
8+
+ return WebGLAny(script_state,
9+
+ String("ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (Subzero) (0x0000C0DE)), SwiftShader driver-5.0.0)"));
10+
}
11+
SynthesizeGLError(
12+
GL_INVALID_ENUM, "getParameter",
13+
@@ -3847,7 +3848,8 @@
14+
pname, IdentifiabilityBenignStringToken(
15+
String(ContextGL()->GetString(GL_VENDOR))));
16+
}
17+
- return WebGLAny(script_state, String(""));
18+
+ return WebGLAny(script_state,
19+
+ String("ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (Subzero) (0x0000C0DE)), SwiftShader driver-5.0.0)"));
20+
}
21+
SynthesizeGLError(
22+
GL_INVALID_ENUM, "getParameter",

0 commit comments

Comments
 (0)