diff --git a/graphics/opengles2/extensions.cpp b/graphics/opengles2/extensions.cpp index 74afdb07a26..ab15e963b49 100644 --- a/graphics/opengles2/extensions.cpp +++ b/graphics/opengles2/extensions.cpp @@ -34,6 +34,8 @@ namespace Graphics { static Common::List g_extensions; void initExtensions() { + g_extensions.clear(); + const char *exts = reinterpret_cast(glGetString(GL_EXTENSIONS)); Common::StringTokenizer tokenizer(exts, " "); while (!tokenizer.empty()) {