瀏覽代碼

Correct sense of ctx->_ForceEyeCoords (Felix Kuhling)

tags/R300_DRIVER_0
Keith Whitwell 22 年之前
父節點
當前提交
eff4abcbd8
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/mesa/main/light.c

+ 1
- 1
src/mesa/main/light.c 查看文件

@@ -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…
取消
儲存