aboutsummaryrefslogtreecommitdiff
path: root/test/05Font/main.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-05 08:07:22 +0800
committerchai <chaifix@163.com>2018-10-05 08:07:22 +0800
commit95c088f3e48321c155eabc00fc4710692405855d (patch)
tree6b01c1a0d17cb7097f73158ec6bc2bd2c89aa14f /test/05Font/main.cpp
parentf64bde8fe125393fa8a2a5de869c44aaed47b621 (diff)
*update
Diffstat (limited to 'test/05Font/main.cpp')
-rw-r--r--test/05Font/main.cpp4
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;