diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-14 10:30:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-14 10:30:00 +0100 |
commit | 876de03290ce0e9393134d722e5b15025e32a341 (patch) | |
tree | c387ef7c6088e88545b837ae457e1699a88acaf9 /vcl/inc | |
parent | 65e17112824967d990536d6a904f0b35a01b5340 (diff) |
Simplify GLX11Window::HasGLXExtension, avoiding strtok
Change-Id: If737cf4aaec1e6297db2bc8a80b19720ca9ca189
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/unx/saldisp.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx index 339ba806d6e8..d64b67ec6ca8 100644 --- a/vcl/inc/unx/saldisp.hxx +++ b/vcl/inc/unx/saldisp.hxx @@ -30,6 +30,7 @@ class SalXLib; #include <X11/extensions/Xrender.h> #include <epoxy/glx.h> +#include <rtl/string.hxx> #include <unx/salunx.h> #include <unx/saltype.h> #include <vcl/opengl/OpenGLContext.hxx> @@ -200,7 +201,7 @@ public: Window win; XVisualInfo* vi; GLXContext ctx; - const char* GLXExtensions; + OString GLXExtensions; bool HasGLXExtension(const char* name) const; |