Преглед изворни кода

decrement Transform._AnyClip when clip planes are disabled

tags/mesa_4_0_2
Brian Paul пре 23 година
родитељ
комит
5e0316f1a8
1 измењених фајлова са 6 додато и 3 уклоњено
  1. 6
    3
      src/mesa/main/enable.c

+ 6
- 3
src/mesa/main/enable.c Прегледај датотеку

@@ -1,10 +1,10 @@
/* $Id: enable.c,v 1.50.2.1 2002/02/12 17:37:26 keithw Exp $ */
/* $Id: enable.c,v 1.50.2.2 2002/03/28 22:45:50 brianp Exp $ */

/*
* Mesa 3-D graphics library
* Version: 3.5
* Version: 4.0.2
*
* Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
* Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -189,6 +189,9 @@ void _mesa_set_enable( GLcontext *ctx, GLenum cap, GLboolean state )
ctx->Transform.EyeUserPlane[p],
ctx->ProjectionMatrix.inv );
}
else {
ctx->Transform._AnyClip--;
}
}
break;
case GL_COLOR_MATERIAL:

Loading…
Откажи
Сачувај