Skip to content
Browse files

Merge pull request #2977 from smspillaz/fix-14501

Include guilib/GraphicContext.h and don't assign NULL to int
  • Loading branch information...
2 parents c48448b + 0a45e14 commit a339cc5a40fa7d526e7c50490f443de24551dd6c @davilla davilla committed
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;

0 comments on commit a339cc5

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