Minor changes: remove use of 'auto', plug obscure memory leak, update copyright.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@21136 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -257,8 +257,8 @@ bool CompileFile(const char *fileName, ShHandle compiler, int debugOptions, cons
|
||||
return false;
|
||||
|
||||
#ifdef MEASURE_MEMORY
|
||||
for (int i = 0; i < 1000; ++i) {
|
||||
for (int j = 0; j < 100; ++j)
|
||||
for (int i = 0; i < 10; ++i) {
|
||||
for (int j = 0; j < 1000; ++j)
|
||||
#endif
|
||||
ret = ShCompile(compiler, data, OutputMultipleStrings, EShOptNone, resources, debugOptions, 100, false, EShMsgDefault);
|
||||
#ifdef MEASURE_MEMORY
|
||||
|
||||
Reference in New Issue
Block a user