浏览代码

Fix comment

Sylvain 3 年之前
父节点
当前提交
f1582f549b
共有 1 个文件被更改,包括 4 次插入5 次删除
  1. 4 5
      test/testgles2_sdf.c

+ 4 - 5
test/testgles2_sdf.c

@@ -163,11 +163,10 @@ process_shader(GLuint *shader, const char * source, GLint shader_type)
 }
 
 /* Notes on a_angle:
-   * It is a vector containing sine and cosine for rotation matrix
-   * To get correct rotation for most cases when a_angle is disabled SDL_cos
-     value is decremented by 1.0 to get proper output with 0.0 which is
-     default value
-*/
+ * It is a vector containing sine and cosine for rotation matrix
+ * To get correct rotation for most cases when a_angle is disabled cosine
+ * value is decremented by 1.0 to get proper output with 0.0 which is default value
+ */
 static const Uint8 GLES2_VertexSrc_Default_[] = " \
     uniform mat4 u_projection; \
     attribute vec2 a_position; \