1
0
Fork 0

Merge pull request #114732 from AR-DEV-1/auto-exposure-notification-update

Update the notification for Auto-exposure
This commit is contained in:
Rémi Verschelde 2026-01-31 22:50:45 +01:00
commit 2db61bc397
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 2 deletions

View File

@ -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;