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
I noticed in this newest version of the AGLK code base, in prepareToDrawWithAttrib:numberOfCoordinates:attribOffset:shouldEnable:, the first assertion changed from count <= 4 to count < 4. This is causing an assertion failure (crash) in my code when attempting to use the buffer to hold a color (GLKVector4) with the attribute GLKVertexAttribColor. In the book, I didn't see any use of this attribute in the examples (or I missed it) so perhaps this change was an oversight.
The text was updated successfully, but these errors were encountered:
I noticed in this newest version of the AGLK code base, in
prepareToDrawWithAttrib:numberOfCoordinates:attribOffset:shouldEnable:
, the first assertion changed fromcount <= 4
tocount < 4
. This is causing an assertion failure (crash) in my code when attempting to use the buffer to hold a color (GLKVector4) with the attribute GLKVertexAttribColor. In the book, I didn't see any use of this attribute in the examples (or I missed it) so perhaps this change was an oversight.The text was updated successfully, but these errors were encountered: