mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-25 07:05:48 +00:00
Move FillCBufferValue function to be member of GLReplay
This commit is contained in:
@@ -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