From 7c5762424bb47e180a91c02b6ef678bac01f9dd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 2 Jan 2014 22:33:18 +0100 Subject: [PATCH] Platform: no-op context version setter in NaClApplication. Included only for compatibility with other platform toolkits. --- src/Platform/NaClApplication.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Platform/NaClApplication.h b/src/Platform/NaClApplication.h index 9c1642809..4dc6088a3 100644 --- a/src/Platform/NaClApplication.h +++ b/src/Platform/NaClApplication.h @@ -369,6 +369,15 @@ class NaClApplication::Configuration { return *this; } + /** + * @brief Set context version + * + * @note This function does nothing and is included only for + * compatibility with other toolkits. @ref Version::GLES200 is + * always used. + */ + Configuration& setVersion(Version) { return *this; } + /** @brief Sample count */ Int sampleCount() const { return _sampleCount; }