mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-15 02:11:22 +00:00
Move FillCBufferValue function to be member of GLReplay
This commit is contained in:
1 parent
513b9572f9
commit
c9146bdd9e
2 files changed
+4
-2
No files matched your search
@@ -1465,8 +1465,8 @@ void GLReplay::SavePipelineState()
|
||||
pipe.m_FB.Stencil = rm->GetOriginalID(rm->GetID(TextureRes(ctx, curStencil)));
|
||||
}
|
||||
|
||||
void FillCBufferValue(WrappedOpenGL &gl, GLuint prog, bool bufferBacked, bool rowMajor, uint32_t locA, uint32_t locB,
|
||||
const vector<byte> &data, ShaderVariable &outVar)
|
||||
void GLReplay::FillCBufferValue(WrappedOpenGL &gl, GLuint prog, bool bufferBacked, bool rowMajor, uint32_t locA, uint32_t locB,
|
||||
const vector<byte> &data, ShaderVariable &outVar)
|
||||
{
|
||||
const byte *bufdata = data.empty() ? NULL : &data[0];
|
||||
|
||||
|
||||
@@ -131,6 +131,8 @@ class GLReplay : public IReplayDriver
|
||||
|
||||
void SetReplayData(GLWindowingData data);
|
||||
private:
|
||||
void FillCBufferValue(WrappedOpenGL &gl, GLuint prog, bool bufferBacked, bool rowMajor, uint32_t locA, uint32_t locB,
|
||||
const vector<byte> &data, ShaderVariable &outVar);
|
||||
|
||||
struct OutputWindow : public GLWindowingData
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user