summaryrefslogtreecommitdiff
path: root/src/render/shaders/shadersmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-10 02:59:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-10 15:12:12 +0300
commit740b10240414ae3b7c37ee21fd131ffdb296b2b9 (patch)
treeb1c03b4c9eeb8790033c79cece88162597711fbb /src/render/shaders/shadersmanager.h
parent54d0234c8334bcd61ffb655a57e6147fd279b9e1 (diff)
downloadmv-740b10240414ae3b7c37ee21fd131ffdb296b2b9.tar.gz
mv-740b10240414ae3b7c37ee21fd131ffdb296b2b9.tar.bz2
mv-740b10240414ae3b7c37ee21fd131ffdb296b2b9.tar.xz
mv-740b10240414ae3b7c37ee21fd131ffdb296b2b9.zip
Add function for load OpenGL ES 2 shaders.
Diffstat (limited to 'src/render/shaders/shadersmanager.h')
-rw-r--r--src/render/shaders/shadersmanager.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/render/shaders/shadersmanager.h b/src/render/shaders/shadersmanager.h
index 6c71dba17..b0cf56159 100644
--- a/src/render/shaders/shadersmanager.h
+++ b/src/render/shaders/shadersmanager.h
@@ -37,10 +37,13 @@ class ShadersManager final
const std::string &fileName) A_WARN_UNUSED;
ShaderProgram *createProgram(const std::string &vertex,
- const std::string &fragment)
+ const std::string &fragment,
+ const bool isNewShader)
A_WARN_UNUSED;
ShaderProgram *getSimpleProgram();
+
+ ShaderProgram *getGles2Program();
};
extern ShadersManager shaders;