Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 167 vs 168 for /trunk/Source Code/Hardware/Video/OpenGL/Shaders/glShader.cpp

Diff revisions: vs.
  @@ -49,8 +49,8 @@
49 49
50 50 #endif
51 51 const char* src = parsedSource.c_str();
52 - GLCheck(glShaderSource(_shader, 1, &src , 0));
53 - ShaderManager::getInstance().shaderFileWrite((char*)(std::string("shaderCache/"+getName()).c_str()), parsedSource.c_str());
52 + GLCheck(glShaderSource(_shader, 1, &src, NULL));
53 + ShaderManager::getInstance().shaderFileWrite((char*)(std::string("shaderCache/"+getName()).c_str()), src);
54 54
55 55 return true;
56 56 }