From 0a45e14963df113c22855d0d28995d6e7bb8ba8b Mon Sep 17 00:00:00 2001 From: Sam Spilsbury Date: Mon, 15 Jul 2013 15:13:29 -0700 Subject: Include guilib/GraphicContext.h and don't assign NULL to int Fixes: #14501 --- xbmc/windowing/X11/WinSystemX11GLES.cpp | 5 +++-- 1 file 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 @@ -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; -- cgit v1.2.3