lecopivo / magnum-imgui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error compiling shaders

amorenoher opened this issue · comments

Around line 416, where the NEW_GLSL defined is added to the default source code of the shaders, there is a NEWLINE missing and the shader compiler fails. Adding !\n" at the end fixes the problem

    vert.addSource({"#define NEW_GLSL\n"});
    frag.addSource({"#define NEW_GLSL\n"});

Cheers,
Alex

Thanks, fixed!