mirror of https://github.com/godotengine/godot
Merge pull request #114732 from AR-DEV-1/auto-exposure-notification-update
Update the notification for Auto-exposure
This commit is contained in:
commit
2db61bc397
|
|
@ -144,8 +144,8 @@ void RendererCameraAttributes::camera_attributes_set_auto_exposure(RID p_camera_
|
|||
cam_attributes->auto_exposure_version = ++auto_exposure_counter;
|
||||
}
|
||||
#ifdef DEBUG_ENABLED
|
||||
if (OS::get_singleton()->get_current_rendering_method() == "gl_compatibility" && p_enable) {
|
||||
WARN_PRINT_ONCE_ED("Auto-exposure is only available when using the Forward+ or Mobile renderer.");
|
||||
if ((OS::get_singleton()->get_current_rendering_method() == "gl_compatibility" || OS::get_singleton()->get_current_rendering_method() == "mobile") && p_enable) {
|
||||
WARN_PRINT_ONCE_ED("Auto-exposure is only available when using the Forward+ renderer.");
|
||||
}
|
||||
#endif
|
||||
cam_attributes->use_auto_exposure = p_enable;
|
||||
|
|
|
|||
Loading…
Reference in New Issue