diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-12-26 16:00:23 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-12-26 17:01:54 -0500 |
| commit | 8ce3a4aa7014c378d4121979f3fd10b9886d38bc (patch) | |
| tree | 2b5221c8457b0ce489f165cb4cc926901ad32705 /Source/Core/VideoBackends/OGL/ProgramShaderCache.h | |
| parent | be8410dcade41f4e1d69cbdbfc46dfce9635287f (diff) | |
ShaderGeneration: Get rid of static buffers
Diffstat (limited to 'Source/Core/VideoBackends/OGL/ProgramShaderCache.h')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/ProgramShaderCache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/ProgramShaderCache.h b/Source/Core/VideoBackends/OGL/ProgramShaderCache.h index 32e84c07af..d20da70d2f 100644 --- a/Source/Core/VideoBackends/OGL/ProgramShaderCache.h +++ b/Source/Core/VideoBackends/OGL/ProgramShaderCache.h @@ -91,8 +91,8 @@ public: static SHADER* SetShader(DSTALPHA_MODE dstAlphaMode, u32 primitive_type); static void GetShaderId(SHADERUID *uid, DSTALPHA_MODE dstAlphaMode, u32 primitive_type); - static bool CompileShader(SHADER &shader, const char* vcode, const char* pcode, const char* gcode = nullptr); - static GLuint CompileSingleShader(GLuint type, const char *code); + static bool CompileShader(SHADER &shader, const std::string& vcode, const std::string& pcode, const std::string& gcode = ""); + static GLuint CompileSingleShader(GLuint type, const std::string& code); static void UploadConstants(); static void Init(); |
