toge's diary

コンピュータ関連の趣味をつらつらと。

2006-11-07から1日間の記事一覧

glIndexPointerはカラーインデックスの配列を示す

http://www.cs.rit.edu/~ncs/Courses/570/UserGuide/OpenGLonWin-15.html より glIndexPointer() specifies the location and data format of an array of color indexes. うん、完全に勘違いしてましたよ。てっきりglDrawArrayElements()に渡すのと同じ意味…