Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
fixed, compiler warnings, don't use NULL to set non-pointers
Browse files Browse the repository at this point in the history
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30492 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information
davilla committed May 24, 2010
1 parent bb067ed commit ee38bdc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions guilib/GUIShader.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit ee38bdc

Please sign in to comment.