mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 23:46:41 +00:00
Populate the buffer format specifier with the initial format
This commit is contained in:
@@ -54,6 +54,11 @@ void BufferFormatSpecifier::toggleHelp()
|
||||
showHelp(false);
|
||||
}
|
||||
|
||||
void BufferFormatSpecifier::setFormat(const QString &format)
|
||||
{
|
||||
ui->formatText->setText(format);
|
||||
}
|
||||
|
||||
void BufferFormatSpecifier::setErrors(const QString &errors)
|
||||
{
|
||||
ui->errors->setText(errors);
|
||||
|
||||
@@ -39,14 +39,14 @@ public:
|
||||
explicit BufferFormatSpecifier(QWidget *parent = 0);
|
||||
~BufferFormatSpecifier();
|
||||
|
||||
void setErrors(const QString &errors);
|
||||
void showHelp(bool help);
|
||||
|
||||
signals:
|
||||
void processFormat(const QString &format);
|
||||
|
||||
public slots:
|
||||
void toggleHelp();
|
||||
void setFormat(const QString &format);
|
||||
void setErrors(const QString &errors);
|
||||
void showHelp(bool help);
|
||||
|
||||
private slots:
|
||||
void on_apply_clicked();
|
||||
|
||||
@@ -2735,6 +2735,8 @@ void BufferViewer::processFormat(const QString &format)
|
||||
|
||||
m_Format = format;
|
||||
|
||||
ui->formatSpecifier->setFormat(format);
|
||||
|
||||
m_ModelVSIn->columns = cols;
|
||||
|
||||
uint32_t stride = 0;
|
||||
|
||||
Reference in New Issue
Block a user