Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Unified Diff: chrome/browser/android/vr_shell/vr_shell_renderer.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/vr_shell/vr_shell_renderer.cc
diff --git a/chrome/browser/android/vr_shell/vr_shell_renderer.cc b/chrome/browser/android/vr_shell/vr_shell_renderer.cc
index f0e8b37510202d627df526b06d672ade72357908..a0afcd04db920ad6ee5fc61f6bacb012d6f15c15 100644
--- a/chrome/browser/android/vr_shell/vr_shell_renderer.cc
+++ b/chrome/browser/android/vr_shell/vr_shell_renderer.cc
@@ -151,7 +151,7 @@ const char* GetShaderSource(vr_shell::ShaderID shader) {
mid_ring_opacity * (1.0 - (r - black_radius) * black_feather);
mediump float alpha = clamp(
min(hole_alpha, max(color1, black_alpha_factor)), 0.0, 1.0);
- vec3 color_rgb = color1 * color.xyz;
+ lowp vec3 color_rgb = color1 * color.xyz;
gl_FragColor = vec4(color_rgb, color.w * alpha);
});
case vr_shell::ShaderID::LASER_FRAGMENT_SHADER:
« no previous file with comments | « chrome/browser/android/search_geolocation_disclosure_tab_helper.cc ('k') | chrome/browser/browser_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698