Move FillCBufferValue function to be member of GLReplay

This commit is contained in:
Baldur Karlsson
2014-07-29 17:03:12 +01:00
parent 513b9572f9
commit c9146bdd9e
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -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];
+2
View File
@@ -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
{