diff options
author | chai <chaifix@163.com> | 2018-10-05 08:07:22 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-05 08:07:22 +0800 |
commit | 95c088f3e48321c155eabc00fc4710692405855d (patch) | |
tree | 6b01c1a0d17cb7097f73158ec6bc2bd2c89aa14f /test/05Font/main.cpp | |
parent | f64bde8fe125393fa8a2a5de869c44aaed47b621 (diff) |
*update
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; |