Additional support for loading geometry shaders (and other shaders)

This commit is contained in:
Dan Paulat 2023-08-16 00:13:09 -05:00
parent 913151e063
commit 2113cb9ba8
3 changed files with 31 additions and 8 deletions

View file

@ -109,7 +109,7 @@ bool ShaderProgram::Load(
std::string shaderSource = shaderStream.readAll().toStdString();
const char* shaderSourceC = shaderSource.c_str();
// Create a vertex shader
// Create a shader
GLuint shaderId = gl.glCreateShader(shader.first);
shaderIds.push_back(shaderId);