We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cb01a9 commit a0f22c0Copy full SHA for a0f22c0
OpenGlass/GlassRenderer.cpp
@@ -230,12 +230,12 @@ HRESULT STDMETHODCALLTYPE GlassRenderer::MyCDrawingContext_DrawGeometry(
230
}
231
*/
232
glassEffect->SetGlassRenderingParameters(
233
- (Shared::g_type == Shared::Type::Aero) ? color : Shared::g_color,
+ (Shared::g_type == Shared::Type::Aero) ? Shared::g_color : color,
234
Shared::g_afterglow,
235
Shared::g_glassOpacity,
236
Shared::g_blurAmount,
237
active ? Shared::g_colorBalance : (0.4f * Shared::g_colorBalance), // y = 0.4x
238
- Shared::g_afterglowBalance, // stays the same
+ Shared::g_afterglowBalance, // stays the same
239
active ? Shared::g_blurBalance : (0.4f * Shared::g_blurBalance + 0.6f), // y = 0.4x + 60
240
Shared::g_type
241
);
0 commit comments