- Clang warning fix.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1516 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
gez 2013-02-06 23:28:45 +00:00
parent 7533b153de
commit 1ae21f010c

View file

@ -216,9 +216,9 @@ void GLSprite::Draw(int pass)
if (!modelframe)
{
// [BB] Billboard stuff
const bool drawWithXYBillboard = ( (particle && gl_billboard_particles) || !(actor && actor->renderflags & RF_FORCEYBILLBOARD)
const bool drawWithXYBillboard = ( (particle && gl_billboard_particles) || (!(actor && actor->renderflags & RF_FORCEYBILLBOARD)
//&& GLRenderer->mViewActor != NULL
&& (gl_billboard_mode == 1 || (actor && actor->renderflags & RF_FORCEXYBILLBOARD )) );
&& (gl_billboard_mode == 1 || (actor && actor->renderflags & RF_FORCEXYBILLBOARD ))) );
gl_RenderState.Apply();
gl.Begin(GL_TRIANGLE_STRIP);
if ( drawWithXYBillboard )