Permalink
Browse files

fixed, compiler warnings, don't use NULL to set non-pointers

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30492 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information...
1 parent bb067ed commit ee38bdcee37d616d2fd052ef3ef627ccc9748f21 davilla committed May 24, 2010
Showing with 9 additions and 9 deletions.
  1. +9 −9 guilib/GUIShader.cpp
View
@@ -31,15 +31,15 @@
CGUIShader::CGUIShader( const char *shader ) : CGLSLShaderProgram("guishader_vert.glsl", shader ? shader : "guishader_frag.glsl" )
{
// Initialise values
- m_hTex0 = NULL;
- m_hTex1 = NULL;
- m_hMethod = NULL;
- m_hProj = NULL;
- m_hModel = NULL;
- m_hPos = NULL;
- m_hCol = NULL;
- m_hCord0 = NULL;
- m_hCord1 = NULL;
+ m_hTex0 = 0;
+ m_hTex1 = 0;
+ m_hMethod = 0;
+ m_hProj = 0;
+ m_hModel = 0;
+ m_hPos = 0;
+ m_hCol = 0;
+ m_hCord0 = 0;
+ m_hCord1 = 0;
m_method = SM_DEFAULT;
m_proj = NULL;

0 comments on commit ee38bdc

Please sign in to comment.