mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-05-30 00:41:19 +00:00
- Clang warning fix.
git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1516 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
7533b153de
commit
1ae21f010c
1 changed files with 2 additions and 2 deletions
|
@ -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 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue