diff options
Diffstat (limited to 'test/05Font/main.cpp')
-rw-r--r-- | test/05Font/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/05Font/main.cpp b/test/05Font/main.cpp index f6d9bce..3b58bae 100644 --- a/test/05Font/main.cpp +++ b/test/05Font/main.cpp @@ -9,7 +9,7 @@ using namespace jin::filesystem; Font* font = nullptr; Canvas* canvas; FontData* data = nullptr; -JSLProgram* shader = nullptr; +Shader* shader = nullptr; Page* page = nullptr; Texture* tex = nullptr; @@ -37,7 +37,7 @@ Color frag(Color col, Texture tex, Vertex v) #END_FRAGMENT_SHADER )"; - shader = JSLProgram::createJSLProgram(program); + shader = Shader::createShader(program); Filesystem* fs = Filesystem::get(); fs->mount("../Debug"); Buffer buffer; |