| 751 | } |
| 752 | |
| 753 | GLuint window::loadShaderProgram(const char* vertexShaderFilename, const char* fragmentShaderFilename){ |
| 754 | //expose this function to the public to load in shaders from outside the graphics library |
| 755 | return shader->shaderProgamLoad(vertexShaderFilename, fragmentShaderFilename); |
| 756 | } |
| 757 | |
| 758 | int window::loadCustomShaderProgram(const char* vertexShaderFilename, const char* fragmentShaderFilename, int type){ |
| 759 | if (type >= TYPE_OTHER_SHADER){ |
nothing calls this directly
no test coverage detected