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
{{ message }}
This repository was archived by the owner on Mar 6, 2022. It is now read-only.
Basically,you've used size_t to cache the sizeof values but glVertexAttribPointer needs GLsizei which means a downcast meaning possible loss of data.So we get this "warning C4267: 'function' : conversion from 'size_t' to 'GLsizei', possible loss of data" warning which can also mess up the drawing of the triangle since it might try to use a faulty size for reading the verts.