瀏覽代碼

s/NORMAL/FOG/ (J.P. Delport)

tags/mesa_20050504
Brian Paul 20 年之前
父節點
當前提交
b52673117b
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      src/mesa/main/api_noop.c

+ 3
- 3
src/mesa/main/api_noop.c 查看文件

@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
* Version: 6.1
* Version: 6.5
*
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
* Copyright (C) 1999-2005 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"),
@@ -81,7 +81,7 @@ void GLAPIENTRY _mesa_noop_FogCoordfEXT( GLfloat a )
void GLAPIENTRY _mesa_noop_FogCoordfvEXT( const GLfloat *v )
{
GET_CURRENT_CONTEXT(ctx);
GLfloat *dest = ctx->Current.Attrib[VERT_ATTRIB_NORMAL];
GLfloat *dest = ctx->Current.Attrib[VERT_ATTRIB_FOG];
dest[0] = v[0];
dest[1] = 0.0;
dest[2] = 0.0;

Loading…
取消
儲存