mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-07 21:01:27 +00:00
Rename colour to color in public API code
* Following the principle of least surprise, color tends to be more commonly used in APIs and graphics code even outside the USA.
This commit is contained in:
1 parent
d94f387399
commit
637d4089e2
47 files changed
+149
-150
No files matched your search
@@ -185,7 +185,7 @@ void TextureSaveDialog::on_fileFormat_currentIndexChanged(int index)
|
||||
|
||||
ui->alphaMap->setEnabled(tex.format.compCount == 4 && noAlphaFormat);
|
||||
|
||||
ui->alphaCol->setEnabled(saveData.alpha == AlphaMapping::BlendToColour &&
|
||||
ui->alphaCol->setEnabled(saveData.alpha == AlphaMapping::BlendToColor &&
|
||||
tex.format.compCount == 4 && noAlphaFormat);
|
||||
|
||||
if(saveData.destType == FileType::DDS)
|
||||
@@ -472,7 +472,7 @@ void TextureSaveDialog::on_alphaMap_currentIndexChanged(int index)
|
||||
{
|
||||
saveData.alpha = (AlphaMapping)index;
|
||||
|
||||
ui->alphaCol->setEnabled(saveData.alpha == AlphaMapping::BlendToColour);
|
||||
ui->alphaCol->setEnabled(saveData.alpha == AlphaMapping::BlendToColor);
|
||||
}
|
||||
|
||||
void TextureSaveDialog::on_blackPoint_textEdited(const QString &arg)
|
||||
|
||||
Reference in new issue
Block a user