summaryrefslogtreecommitdiff
path: root/Runtime/Graphics
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Graphics')
-rw-r--r--Runtime/Graphics/Shader.cpp5
-rw-r--r--Runtime/Graphics/Shader.h1
2 files changed, 6 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)
{
diff --git a/Runtime/Graphics/Shader.h b/Runtime/Graphics/Shader.h
index 8a8c1f5..3410e20 100644
--- a/Runtime/Graphics/Shader.h
+++ b/Runtime/Graphics/Shader.h
@@ -11,6 +11,7 @@
class Shader : public LuaBind::NativeClass<Shader>
{
public:
+ Shader()/*throw(ShaderCompileExecption)*/;
Shader(LuaBind::VM*vm)/*throw(ShaderCompileExecption)*/;
Shader(LuaBind::VM*vm, std::string& glslShader)/*throw(ShaderCompileExecption)*/;
Shader(LuaBind::VM*vm, const char* vert, const char* frag)/*throw(ShaderCompileExecption)*/;