gl: C++ things
This commit is contained in:
@@ -509,7 +509,7 @@ namespace gl
|
|||||||
|
|
||||||
auto storage_hook = [=](std::unique_ptr<glsl::program>& prog)
|
auto storage_hook = [=](std::unique_ptr<glsl::program>& prog)
|
||||||
{
|
{
|
||||||
data->prog.reset(prog.release());
|
data->prog = std::move(prog);
|
||||||
post_init_hook(data, compiler_options);
|
post_init_hook(data, compiler_options);
|
||||||
|
|
||||||
if (callback)
|
if (callback)
|
||||||
|
|||||||
Reference in New Issue
Block a user