소스 검색

mesa: s/gl_vertex_attrib_array/gl_array_attributes/ in comments

The structure type was renamed some time ago, but some comments
were not updated.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
tags/18.1-branchpoint
Brian Paul 7 년 전
부모
커밋
e4504be6fc
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1
    1
      src/mesa/main/arrayobj.c
  2. 1
    1
      src/mesa/main/mtypes.h
  3. 1
    1
      src/mesa/main/varray.h

+ 1
- 1
src/mesa/main/arrayobj.c 파일 보기

@@ -307,7 +307,7 @@ _mesa_initialize_vao(struct gl_context *ctx,


/**
* Updates the derived gl_vertex_arrays when a gl_vertex_attrib_array
* Updates the derived gl_vertex_arrays when a gl_array_attributes
* or a gl_vertex_buffer_binding has changed.
*/
void

+ 1
- 1
src/mesa/main/mtypes.h 파일 보기

@@ -1541,7 +1541,7 @@ struct gl_vertex_array_object
/**
* Derived vertex attribute arrays
*
* This is a legacy data structure created from gl_vertex_attrib_array and
* This is a legacy data structure created from gl_array_attributes and
* gl_vertex_buffer_binding, for compatibility with existing driver code.
*/
struct gl_vertex_array _VertexAttrib[VERT_ATTRIB_MAX];

+ 1
- 1
src/mesa/main/varray.h 파일 보기

@@ -51,7 +51,7 @@ _mesa_vertex_attrib_address(const struct gl_array_attributes *array,

/**
* Sets the fields in a gl_vertex_array to values derived from a
* gl_vertex_attrib_array and a gl_vertex_buffer_binding.
* gl_array_attributes and a gl_vertex_buffer_binding.
*/
static inline void
_mesa_update_client_array(struct gl_context *ctx,

Loading…
취소
저장