From 95c088f3e48321c155eabc00fc4710692405855d Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 5 Oct 2018 08:07:22 +0800 Subject: *update --- test/05Font/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/05Font/main.cpp') 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; -- cgit v1.1-26-g67d0