diff options
author | chai <chaifix@163.com> | 2021-10-29 22:28:12 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-29 22:28:12 +0800 |
commit | 164885fd98d48703bd771f802d79557b7db97431 (patch) | |
tree | 7c396e475082644ec6994bcc7f3914eb4efb0c5a /Runtime/Graphics/Shader.cpp | |
parent | 655466e2d798b72ee3d3be7fcfe32db6af2d4466 (diff) |
* !!! 允许NativeClass延后绑定VM
Diffstat (limited to 'Runtime/Graphics/Shader.cpp')
-rw-r--r-- | Runtime/Graphics/Shader.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Runtime/Graphics/Shader.cpp b/Runtime/Graphics/Shader.cpp index 2c3d686..4c41d6b 100644 --- a/Runtime/Graphics/Shader.cpp +++ b/Runtime/Graphics/Shader.cpp @@ -35,6 +35,11 @@ void checkCompileshaderErrorors(GLuint shader, std::string type) } } +Shader::Shader() + : NativeClass<Shader>() +{ +} + Shader::Shader(LuaBind::VM*vm) : NativeClass<Shader>(vm) { |