summaryrefslogtreecommitdiff
path: root/src/render/naclglfunctions.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-12 00:31:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-12 00:32:02 +0300
commit045180991b473e03e3283cc1a440dced876cf23a (patch)
tree914e9916f33e3004336050b5d422c463529452a7 /src/render/naclglfunctions.h
parent789b5f52993e4074bb8fd0f883e8a852fe60c733 (diff)
downloadplus-045180991b473e03e3283cc1a440dced876cf23a.tar.gz
plus-045180991b473e03e3283cc1a440dced876cf23a.tar.bz2
plus-045180991b473e03e3283cc1a440dced876cf23a.tar.xz
plus-045180991b473e03e3283cc1a440dced876cf23a.zip
Replace glGetString into mglGetString.
Diffstat (limited to 'src/render/naclglfunctions.h')
-rw-r--r--src/render/naclglfunctions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/naclglfunctions.h b/src/render/naclglfunctions.h
index 83757f07c..7d8810ec3 100644
--- a/src/render/naclglfunctions.h
+++ b/src/render/naclglfunctions.h
@@ -98,6 +98,8 @@ extern PP_Resource gles2Context;
gles2Interface->Enable(gles2Context, __VA_ARGS__)
#define mglGetIntegerv(...) \
gles2Interface->GetIntegerv(gles2Context, __VA_ARGS__)
+#define mglGetString(...) \
+ gles2Interface->GetString(gles2Context, __VA_ARGS__)
#endif // defined(__native_client__) && defined(USE_OPENGL)
#endif // RENDER_NACLGLFUNCTIONS_H