You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/opengl/c1/3-hello-texture.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ If we try to run our program now...
60
60

61
61
62
62
Well, that doesn't look like the quad we were expecting. This is because we have updated the vertex buffer we're passing to the vertex shader,
63
-
but haven't updated anything else such as our vertex layout definition. Luckily, it's very easy to modify the the example vertex layout
63
+
but haven't updated anything else such as our vertex layout definition. Luckily, it's very easy to modify the example vertex layout
64
64
shown in the previous tutorial to work with our new texture coordinates.
65
65
66
66
In our `VertexAttribPointer` calls, we declared an `aPosition` attribute with a size of 3 floats and a stride of 12 bytes (`3 * sizeof(float)` equals 12).
0 commit comments