Correct typos in comments
This commit is contained in:
parent
70dc582f38
commit
b1ffa8a6c5
13 changed files with 29 additions and 29 deletions
|
|
@ -193,7 +193,7 @@ namespace gl {
|
|||
ctx.AttachShader(program.handle(), frag.handle());
|
||||
|
||||
// p_handle stores a copy of the program handle, since program will be moved before
|
||||
// the fail guard funcion is called.
|
||||
// the fail guard function is called.
|
||||
auto fg = util::fail_guard([p_handle = program.handle(), &vert, &frag]() {
|
||||
ctx.DetachShader(p_handle, vert.handle());
|
||||
ctx.DetachShader(p_handle, frag.handle());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue