aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/graphics/je_lua_graphics.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-31 08:33:22 +0800
committerchai <chaifix@163.com>2018-10-31 08:33:22 +0800
commita6868deda1af419822d1610c0ca8b81413519393 (patch)
tree7868c70ad6e79b8e8705381489c729e48663c570 /src/lua/modules/graphics/je_lua_graphics.cpp
parent3d664c69fd558730eba34bed24ca42a6a8559f9f (diff)
*更新错误处理
Diffstat (limited to 'src/lua/modules/graphics/je_lua_graphics.cpp')
-rw-r--r--src/lua/modules/graphics/je_lua_graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/modules/graphics/je_lua_graphics.cpp b/src/lua/modules/graphics/je_lua_graphics.cpp
index 90e4533..a2157b6 100644
--- a/src/lua/modules/graphics/je_lua_graphics.cpp
+++ b/src/lua/modules/graphics/je_lua_graphics.cpp
@@ -196,7 +196,7 @@ namespace JinEngine
AssetDatabase* fs = AssetDatabase::get();
if (!fs->exists(path))
{
- error(L, "No such shader file %s\n", path);
+ error(L, "No such shader file \"%s\"\n", path);
luax_pushnil(L);
return 1;
}
@@ -809,4 +809,4 @@ namespace JinEngine
}
} // namespace Lua
-} // namespace JinEngine \ No newline at end of file
+} // namespace JinEngine \ No newline at end of file