Sfoglia il codice sorgente

Correct sense of ctx->_ForceEyeCoords (Felix Kuhling)

tags/R300_DRIVER_0
Keith Whitwell 22 anni fa
parent
commit
eff4abcbd8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/mesa/main/light.c

+ 1
- 1
src/mesa/main/light.c Vedi File

@@ -1180,7 +1180,7 @@ _mesa_update_tnl_spaces( GLcontext *ctx, GLuint new_state )
void
_mesa_allow_light_in_model( GLcontext *ctx, GLboolean flag )
{
ctx->_ForceEyeCoords = flag;
ctx->_ForceEyeCoords = !flag;
ctx->NewState |= _NEW_POINT; /* one of the bits from
* _MESA_NEW_NEED_EYE_COORDS.
*/

Loading…
Annulla
Salva