Searched refs:loadShader (Results 1 – 1 of 1) sorted by relevance
28 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() function58 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram()63 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); in createProgram()