Searched refs:gShaderObject (Results 1 – 1 of 1) sorted by relevance
424 static ES2ShaderObject gShaderObject; variable468 glDeleteProgram(gShaderObject.shaderProgramId); in TerminateRenderer()469 glDeleteShader(gShaderObject.fragmentShaderId); in TerminateRenderer()470 glDeleteShader(gShaderObject.vertexShaderId); in TerminateRenderer()494 gShaderObject.fragmentShaderId = glCreateShader(GL_FRAGMENT_SHADER); in InitShader()495 glShaderSource(gShaderObject.fragmentShaderId, 1, in InitShader()497 glCompileShader(gShaderObject.fragmentShaderId); in InitShader()499 glGetShaderiv(gShaderObject.fragmentShaderId, GL_COMPILE_STATUS, &result); in InitShader()501 log = BuildShaderErrorLog(gShaderObject.fragmentShaderId); in InitShader()508 gShaderObject.vertexShaderId = glCreateShader(GL_VERTEX_SHADER); in InitShader()[all …]