Home
last modified time | relevance | path

Searched refs:corrected_color (Results 1 – 1 of 1) sorted by relevance

/reactos/dll/directx/wine/wined3d/
H A Ddevice.c235 struct wined3d_color corrected_color; in device_clear_render_targets() local
367 corrected_color.r = color->r < wined3d_srgb_const1[0] in device_clear_render_targets()
371 corrected_color.r = min(max(corrected_color.r, 0.0f), 1.0f); in device_clear_render_targets()
372 corrected_color.g = color->g < wined3d_srgb_const1[0] in device_clear_render_targets()
376 corrected_color.g = min(max(corrected_color.g, 0.0f), 1.0f); in device_clear_render_targets()
377 corrected_color.b = color->b < wined3d_srgb_const1[0] in device_clear_render_targets()
381 corrected_color.b = min(max(corrected_color.b, 0.0f), 1.0f); in device_clear_render_targets()
382 color = &corrected_color; in device_clear_render_targets()