Skip to content
This repository
Browse code

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

Fixes: #14501
  • Loading branch information...
commit 0a45e14963df113c22855d0d28995d6e7bb8ba8b 1 parent c48448b
smspillaz authored July 15, 2013

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  xbmc/windowing/X11/WinSystemX11GLES.cpp
5  xbmc/windowing/X11/WinSystemX11GLES.cpp
@@ -28,6 +28,7 @@
28 28
 #include "settings/DisplaySettings.h"
29 29
 #include "settings/Settings.h"
30 30
 #include "settings/DisplaySettings.h"
  31
+#include "guilib/GraphicContext.h"
31 32
 #include "guilib/Texture.h"
32 33
 #include "windowing/X11/XRandR.h"
33 34
 #include <vector>
@@ -84,8 +85,8 @@ CWinSystemX11GLES::CWinSystemX11GLES() : CWinSystemBase()
84 85
   m_eglDisplay = NULL;
85 86
   m_eglContext = NULL;
86 87
   m_eglSurface = NULL;
87  
-  m_eglWindow  = NULL;
88  
-  m_wmWindow   = NULL;
  88
+  m_eglWindow  = None;
  89
+  m_wmWindow   = None;
89 90
   m_dpy        = NULL;
90 91
   
91 92
   m_iVSyncErrors = 0;

0 notes on commit 0a45e14

Please sign in to comment.
Something went wrong with that request. Please try again.