mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
Fixed some clang compiler warnings
This commit is contained in:
committed by
Baldur Karlsson
parent
353bd7c8d1
commit
ee981ac59c
@@ -70,8 +70,8 @@ private:
|
||||
public slots:
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *e);
|
||||
QPaintEngine *paintEngine() const { return m_Ctx ? NULL : QWidget::paintEngine(); }
|
||||
void paintEvent(QPaintEvent *e) override;
|
||||
QPaintEngine *paintEngine() const override { return m_Ctx ? NULL : QWidget::paintEngine(); }
|
||||
CaptureContext *m_Ctx;
|
||||
IReplayOutput *m_Output;
|
||||
QColor m_Dark;
|
||||
|
||||
@@ -50,9 +50,9 @@ public:
|
||||
explicit MainWindow(CaptureContext *ctx);
|
||||
~MainWindow();
|
||||
|
||||
void OnLogfileLoaded();
|
||||
void OnLogfileClosed();
|
||||
void OnEventSelected(uint32_t eventID);
|
||||
void OnLogfileLoaded() override;
|
||||
void OnLogfileClosed() override;
|
||||
void OnEventSelected(uint32_t eventID) override;
|
||||
|
||||
void setProgress(float val);
|
||||
void takeLogOwnership() { m_OwnTempLog = true; }
|
||||
|
||||
@@ -56,7 +56,7 @@ struct D3D12PipelineState
|
||||
|
||||
struct VertexBuffer
|
||||
{
|
||||
VertexBuffer() : Buffer(), Stride(0), Offset(0) {}
|
||||
VertexBuffer() : Buffer(), Offset(0), Stride(0) {}
|
||||
ResourceId Buffer;
|
||||
uint64_t Offset;
|
||||
uint32_t Size;
|
||||
@@ -290,8 +290,8 @@ struct D3D12PipelineState
|
||||
struct DepthStencilState
|
||||
{
|
||||
DepthStencilState()
|
||||
: DepthWrites(false),
|
||||
DepthEnable(false),
|
||||
: DepthEnable(false),
|
||||
DepthWrites(false),
|
||||
StencilEnable(false),
|
||||
StencilReadMask(0),
|
||||
StencilWriteMask(0),
|
||||
|
||||
@@ -153,7 +153,7 @@ struct VulkanPipelineState
|
||||
|
||||
struct ShaderStage
|
||||
{
|
||||
ShaderStage() : Shader(), ShaderDetails(NULL), customName(false), stage(eShaderStage_Vertex) {}
|
||||
ShaderStage() : Shader(), customName(false), ShaderDetails(NULL), stage(eShaderStage_Vertex) {}
|
||||
ResourceId Shader;
|
||||
rdctype::str entryPoint;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user