You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERR_FAIL_COND_MSG(p_enabled && rendering_device && !rendering_device->has_feature(RenderingDevice::Features::SUPPORTS_HDR_OUTPUT), "HDR output is not supported by the rendering device.");
873
+
if (rendering_device && rendering_device->has_feature(RenderingDevice::Features::SUPPORTS_HDR_OUTPUT)) {
874
+
renderer_supports_hdr_output = true;
875
+
}
867
876
#endif
877
+
if (!renderer_supports_hdr_output) {
878
+
WARN_PRINT("HDR output requested, but is not supported by the renderer or rendering device driver.");
ERR_FAIL_COND_MSG(p_enabled && !(rendering_device && rendering_device->has_feature(RenderingDevice::Features::SUPPORTS_HDR_OUTPUT)), "HDR output is not supported by the rendering device.");
1557
+
if (rendering_device && rendering_device->has_feature(RenderingDevice::Features::SUPPORTS_HDR_OUTPUT)) {
1558
+
renderer_supports_hdr_output = true;
1559
+
}
1546
1560
#endif
1561
+
if (!renderer_supports_hdr_output) {
1562
+
WARN_PRINT("HDR output requested, but is not supported by the renderer or rendering device driver.");
ERR_FAIL_COND_MSG(p_enabled && rendering_device && !rendering_device->has_feature(RenderingDevice::Features::SUPPORTS_HDR_OUTPUT), "HDR output is not supported by the rendering device.");
615
+
if (rendering_device && rendering_device->has_feature(RenderingDevice::Features::SUPPORTS_HDR_OUTPUT)) {
616
+
renderer_supports_hdr_output = true;
617
+
}
609
618
#endif
619
+
if (!renderer_supports_hdr_output) {
620
+
WARN_PRINT("HDR output requested, but is not supported by the renderer or rendering device driver.");
ERR_FAIL_COND_EDMSG(p_enable && (rendering_device && rendering_device->has_feature(RenderingDevice::Features::SUPPORTS_HDR_OUTPUT)) == false, "HDR output is not supported by the rendering device.");
4798
+
if (rendering_device && rendering_device->has_feature(RenderingDevice::Features::SUPPORTS_HDR_OUTPUT)) {
4799
+
renderer_supports_hdr_output = true;
4800
+
}
4793
4801
#endif
4802
+
if (!renderer_supports_hdr_output) {
4803
+
WARN_PRINT("HDR output requested, but is not supported by the renderer or rendering device driver.");
0 commit comments