mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-03 12:33:58 +00:00
Linux compile fix
This commit is contained in:
1 parent
74c1d16b2b
commit
8e15169a7f
2 files changed
+2
-2
No files matched your search
@@ -171,7 +171,7 @@ struct GLResourceRecord : public ResourceRecord
|
||||
} Map;
|
||||
|
||||
template<typename ChunkFilter>
|
||||
void FilterChunks(ChunkFilter& filter)
|
||||
void FilterChunks(const ChunkFilter& filter)
|
||||
{
|
||||
LockChunks();
|
||||
std::vector<std::map<int32_t, Chunk *>::iterator> deletions;
|
||||
|
||||
@@ -1039,7 +1039,7 @@ void WrappedOpenGL::glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuin
|
||||
// record), and check if the Stages bitfield afterwards is
|
||||
// the same - if so we remove that chunk as replaced by
|
||||
// this one
|
||||
bool operator () (Chunk *c)
|
||||
bool operator () (Chunk *c) const
|
||||
{
|
||||
if(c->GetChunkType() != USE_PROGRAMSTAGES)
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user