diff options
| author | degasus <wickmarkus@web.de> | 2013-01-19 00:39:31 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2013-01-19 00:39:31 +0100 |
| commit | 074f73c64193318676abe84645e82b58eb099021 (patch) | |
| tree | dc316a0f5a593cb232b8c3d283ace2b23279acfd /Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp | |
| parent | 6401a18143f9c0e8fbcdf07cbd656e1ae9e833b4 (diff) | |
move utils texture to sampler 8+9
rasterfont tex will aways bound to samp8.
efb copy utils will be done in samp9.
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp b/Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp index ad0173341c..cbeed4376c 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp @@ -86,7 +86,7 @@ void ProgramShaderCache::SetProgramVariables(PCacheEntry &entry) entry.UniformLocations[a] = glGetUniformLocation(entry.prog_id, UniformNames[a]); // Bind Texture Sampler - for (int a = 0; a < 8; ++a) + for (int a = 0; a <= 9; ++a) { char name[8]; snprintf(name, 8, "samp%d", a); |
