diff options
author | Sam Spilsbury <smspillaz@gmail.com> | 2013-07-15 15:13:29 -0700 |
---|---|---|
committer | Sam Spilsbury <smspillaz@gmail.com> | 2013-07-15 15:13:29 -0700 |
commit | 0a45e14963df113c22855d0d28995d6e7bb8ba8b (patch) | |
tree | 612199e905deff37aa16ba8a88b9954f9f7f322d | |
parent | c48448beeb87b617a223a3f6ec31ff9f193ecd7b (diff) |
Include guilib/GraphicContext.h and don't assign NULL to int
Fixes: #14501
-rw-r--r-- | xbmc/windowing/X11/WinSystemX11GLES.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xbmc/windowing/X11/WinSystemX11GLES.cpp b/xbmc/windowing/X11/WinSystemX11GLES.cpp index 0660e6059a..1002a4cbb0 100644 --- a/xbmc/windowing/X11/WinSystemX11GLES.cpp +++ b/xbmc/windowing/X11/WinSystemX11GLES.cpp @@ -28,6 +28,7 @@ #include "settings/DisplaySettings.h" #include "settings/Settings.h" #include "settings/DisplaySettings.h" +#include "guilib/GraphicContext.h" #include "guilib/Texture.h" #include "windowing/X11/XRandR.h" #include <vector> @@ -84,8 +85,8 @@ CWinSystemX11GLES::CWinSystemX11GLES() : CWinSystemBase() m_eglDisplay = NULL; m_eglContext = NULL; m_eglSurface = NULL; - m_eglWindow = NULL; - m_wmWindow = NULL; + m_eglWindow = None; + m_wmWindow = None; m_dpy = NULL; m_iVSyncErrors = 0; |