Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-03-09 22:28:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-09 22:28:30 +0400
commit89a963fb7fdff543b77de790355b9dac3019bd33 (patch)
tree4e1d2245e20f8c21625e99d771776f66c233a0de /source/blender/gpu/GPU_buffers.h
parentde4bd55e01bc574c13977537ace1a0901dcfcaf0 (diff)
style cleanup: comment blocks
Diffstat (limited to 'source/blender/gpu/GPU_buffers.h')
-rw-r--r--source/blender/gpu/GPU_buffers.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/source/blender/gpu/GPU_buffers.h b/source/blender/gpu/GPU_buffers.h
index 9aa9b6fe857..09314351078 100644
--- a/source/blender/gpu/GPU_buffers.h
+++ b/source/blender/gpu/GPU_buffers.h
@@ -62,20 +62,20 @@ typedef struct GPUBufferMaterial {
} GPUBufferMaterial;
/* meshes are split up by material since changing materials requires
- GL state changes that can't occur in the middle of drawing an
- array.
-
- some simplifying assumptions are made:
- * all quads are treated as two triangles.
- * no vertex sharing is used; each triangle gets its own copy of the
- vertices it uses (this makes it easy to deal with a vertex used
- by faces with different properties, such as smooth/solid shading,
- different MCols, etc.)
-
- to avoid confusion between the original MVert vertices and the
- arrays of OpenGL vertices, the latter are referred to here and in
- the source as `points'. similarly, the OpenGL triangles generated
- for MFaces are referred to as triangles rather than faces.
+ * GL state changes that can't occur in the middle of drawing an
+ * array.
+ *
+ * some simplifying assumptions are made:
+ * - all quads are treated as two triangles.
+ * - no vertex sharing is used; each triangle gets its own copy of the
+ * vertices it uses (this makes it easy to deal with a vertex used
+ * by faces with different properties, such as smooth/solid shading,
+ * different MCols, etc.)
+ *
+ * to avoid confusion between the original MVert vertices and the
+ * arrays of OpenGL vertices, the latter are referred to here and in
+ * the source as `points'. similarly, the OpenGL triangles generated
+ * for MFaces are referred to as triangles rather than faces.
*/
typedef struct GPUDrawObject {
GPUBuffer *points;
@@ -107,7 +107,7 @@ typedef struct GPUDrawObject {
int totedge;
/* if there was a failure allocating some buffer, use old
- rendering code */
+ * rendering code */
int legacy;
} GPUDrawObject;