mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 20:06:49 +01:00
Fix build.
This commit is contained in:
parent
8e7bcc2ee0
commit
6a317fbe15
@ -2878,7 +2878,7 @@ String Viewport::get_configuration_warning() const {
|
|||||||
warning += TTR("The Viewport size must be greater than or equal to 2 pixels on both dimensions to render anything.");
|
warning += TTR("The Viewport size must be greater than or equal to 2 pixels on both dimensions to render anything.");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!VisualServer::get_singleton()->is_low_end() && hdr && (usage == USAGE_2D || usage == USAGE_2D_NO_SAMPLING)) {
|
if (!RenderingServer::get_singleton()->is_low_end() && hdr && (usage == USAGE_2D || usage == USAGE_2D_NO_SAMPLING)) {
|
||||||
if (warning != String()) {
|
if (warning != String()) {
|
||||||
warning += "\n\n";
|
warning += "\n\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user