kimziv / oglsuperbible5

GLTools and OpenGL SuperBible (5th Edition) OpenGL超级宝典第五版
41 stars 16 forks source link

Book errata: GL_COPY_READ_BUFFER #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is not a code problem - just a minor correction in the book.

On page 334 of the OGL SuperBible 5, the first line says "You have seen how 
some buffer binding targets such as GL_PIXEL_PACK_BUFFER and 
GL_COPY_READ_BUFFER are used".

However, the code does not use GL_COPY_READ_BUFFER. It uses 
GL_PIXEL_UNPACK_BUFFER.

I gather that both these methods work very similarly.

Original issue reported on code.google.com by nag.ra...@gmail.com on 19 Sep 2012 at 10:48