mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:40:05 +00:00
Additional support for loading geometry shaders (and other shaders)
This commit is contained in:
parent
913151e063
commit
2113cb9ba8
3 changed files with 31 additions and 8 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue