mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +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:
@@ -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