注释修正

This commit is contained in:
hyzboy 2018-12-07 19:38:20 +08:00
parent d87c339a08
commit be4678637f

View File

@ -81,8 +81,8 @@ void InitVertexBuffer()
va=new VertexArray(GL_TRIANGLES, //画三角形
2); //两个属性
const int vertex_location=shader.GetAttribLocation("Vertex"); ///<取得顶点数据输入流对应的shader地址
const int color_location=shader.GetAttribLocation("Color"); ///<取得颜色数据输入流对应的shader地址
const int vertex_location=shader.GetAttribLocation("Vertex"); ///<取得顶点数据输入流对应的shader地址
const int color_location=shader.GetAttribLocation("Color"); ///<取得颜色数据输入流对应的shader地址
int binding_index=0; //绑定点