mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Tweak code that was confusing gcc
This commit is contained in:
@@ -1061,7 +1061,7 @@ map<RDCDriver, string> RenderDoc::GetRemoteDrivers()
|
||||
|
||||
DriverInformation RenderDoc::GetDriverInformation(GraphicsAPI api)
|
||||
{
|
||||
DriverInformation ret = {GPUVendor::Unknown, ""};
|
||||
DriverInformation ret = {};
|
||||
|
||||
RDCDriver driverType = RDCDriver::Unknown;
|
||||
switch(api)
|
||||
|
||||
@@ -170,7 +170,11 @@ public:
|
||||
return ret;
|
||||
}
|
||||
void SavePipelineState() {}
|
||||
DriverInformation GetDriverInfo() { return {GPUVendor::Unknown, ""}; }
|
||||
DriverInformation GetDriverInfo()
|
||||
{
|
||||
DriverInformation ret = {};
|
||||
return ret;
|
||||
}
|
||||
const D3D12Pipe::State *GetD3D12PipelineState() { return NULL; }
|
||||
const GLPipe::State *GetGLPipelineState() { return NULL; }
|
||||
const VKPipe::State *GetVulkanPipelineState() { return NULL; }
|
||||
|
||||
Reference in New Issue
Block a user