Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Include guilib/GraphicContext.h and don't assign NULL to int

Fixes: #14501
  • Loading branch information...
commit 0a45e14963df113c22855d0d28995d6e7bb8ba8b 1 parent c48448b
@smspillaz smspillaz authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 xbmc/windowing/X11/WinSystemX11GLES.cpp
View
5 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;
Please sign in to comment.
Something went wrong with that request. Please try again.