Godot Engine – Multi-platform 2D and 3D game engine
Fix sRGB conversion note in drawable texture format docs
Jordyfelfb9ebae251a3
diff --git a/doc/classes/DrawableTexture2D.xml b/doc/classes/DrawableTexture2D.xmlindex afb4e95d970..1a4fbf3c84d 100644--- a/doc/classes/DrawableTexture2D.xml+++ b/doc/classes/DrawableTexture2D.xml@@ -79,7 +79,7 @@</constant><constant name="DRAWABLE_FORMAT_RGBA8_SRGB" value="1" enum="DrawableFormat">OpenGL texture format RGBA with four components, each with a bitdepth of 8.- When drawn to, an sRGB to linear color space conversion is performed.+ When drawn to, a linear to sRGB color encoding conversion is performed.</constant><constant name="DRAWABLE_FORMAT_RGBAH" value="2" enum="DrawableFormat">OpenGL texture format GL_RGBA16F where there are four components, each a 16-bit "half-precision" floating-point value.diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xmlindex 5a73ad34ba9..0acfeb16659 100644--- a/doc/classes/RenderingServer.xml+++ b/doc/classes/RenderingServer.xml@@ -4806,7 +4806,7 @@</constant><constant name="TEXTURE_DRAWABLE_FORMAT_RGBA8_SRGB" value="1" enum="TextureDrawableFormat">OpenGL texture format RGBA with four components, each with a bitdepth of 8.- When drawn to, an sRGB to linear color space conversion is performed.+ When drawn to, a linear to sRGB color encoding conversion is performed.</constant><constant name="TEXTURE_DRAWABLE_FORMAT_RGBAH" value="2" enum="TextureDrawableFormat">OpenGL texture format GL_RGBA16F where there are four components, each a 16-bit "half-precision" floating-point value.