浏览代码

glsl: remove struct keyword from ir_variable declarations

To silence MSVC warnings.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
tags/mesa-10.1-devel
Brian Paul 12 年前
父节点
当前提交
1ddb56d160
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      src/glsl/opt_dead_builtin_varyings.cpp

+ 4
- 4
src/glsl/opt_dead_builtin_varyings.cpp 查看文件

@@ -391,10 +391,10 @@ public:

private:
const varying_info_visitor *info;
struct ir_variable *new_texcoord[MAX_TEXTURE_COORD_UNITS];
struct ir_variable *new_color[2];
struct ir_variable *new_backcolor[2];
struct ir_variable *new_fog;
ir_variable *new_texcoord[MAX_TEXTURE_COORD_UNITS];
ir_variable *new_color[2];
ir_variable *new_backcolor[2];
ir_variable *new_fog;
};



正在加载...
取消
保存