| 76 | } |
| 77 | |
| 78 | void CarShader::bindTextureArray(GLuint textureArrayID) { |
| 79 | loadSampler2D(carTextureArrayLocation, 0); |
| 80 | loadSampler2D(carTextureLocation, 1); |
| 81 | glActiveTexture(GL_TEXTURE0); |
| 82 | glBindTexture(GL_TEXTURE_2D_ARRAY, textureArrayID); |
| 83 | } |
| 84 | |
| 85 | void CarShader::load_tga_texture() { |
| 86 | std::stringstream car_texture_path; |
no outgoing calls
no test coverage detected