mirror of
https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git
synced 2025-08-23 12:45:29 +08:00
@@ -368,7 +368,7 @@ glEnableVertexAttribArray(0);
|
|||||||
|
|
||||||
[...]
|
[...]
|
||||||
|
|
||||||
// ..:: 绘制代(渲染循环中) :: ..
|
// ..:: 绘制代码(渲染循环中) :: ..
|
||||||
// 4. 绘制物体
|
// 4. 绘制物体
|
||||||
glUseProgram(shaderProgram);
|
glUseProgram(shaderProgram);
|
||||||
glBindVertexArray(VAO);
|
glBindVertexArray(VAO);
|
||||||
|
Reference in New Issue
Block a user