Fix shader program creation
This commit is contained in:
parent
532ac6fdf5
commit
fd26d8a3a3
1 changed files with 1 additions and 0 deletions
|
|
@ -255,6 +255,7 @@ namespace psemek::gfx
|
||||||
for (auto const & p : sources)
|
for (auto const & p : sources)
|
||||||
{
|
{
|
||||||
GLuint sh = gl::CreateShader(p.first);
|
GLuint sh = gl::CreateShader(p.first);
|
||||||
|
shaders.push_back(sh);
|
||||||
load_shader(sh, p.second);
|
load_shader(sh, p.second);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue