Searched refs:GLSLFile (Results 1 – 1 of 1) sorted by relevance
2182 CPVRTResourceFile GLSLFile(str); in ParseShader() local2184 if(!GLSLFile.IsOpen()) in ParseShader()2189 shader.pszGLSLcode = (char*)malloc((GLSLFile.Size()+1) * sizeof(char)); in ParseShader()2190 memcpy(shader.pszGLSLcode, (const char*) GLSLFile.DataPtr(), GLSLFile.Size()); in ParseShader()2191 shader.pszGLSLcode[GLSLFile.Size()] = '\0'; in ParseShader()2211 CPVRTResourceFile GLSLFile(str); in ParseShader() local2213 if(!GLSLFile.IsOpen()) in ParseShader()2218 shader.pbGLSLBinary = new char[GLSLFile.Size()]; in ParseShader()2219 shader.nGLSLBinarySize = (unsigned int)GLSLFile.Size(); in ParseShader()2220 memcpy(shader.pbGLSLBinary, GLSLFile.DataPtr(), GLSLFile.Size()); in ParseShader()