소스 검색

Move setting of _NEW_LIGHT to only occur when materials are present.

tags/mesa_6_5_2
Keith Whitwell 19 년 전
부모
커밋
c8238aa0ff
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    2
      src/mesa/tnl/t_vtx_api.c

+ 1
- 2
src/mesa/tnl/t_vtx_api.c 파일 보기

@@ -171,11 +171,10 @@ static void _tnl_copy_to_current( GLcontext *ctx )

if (tnl->vtx.have_materials) {
tnl->Driver.NotifyMaterialChange( ctx );
ctx->NewState |= _NEW_LIGHT;
}
ctx->Driver.NeedFlush &= ~FLUSH_UPDATE_CURRENT;

ctx->NewState |= _NEW_LIGHT;
}



Loading…
취소
저장