OpenGLInsights / OpenGLInsightsCode

Source code for OpenGL Insights
653 stars 229 forks source link

Chapter 28 - Makefile is missing #8

Open LaraHa opened 9 years ago

LaraHa commented 9 years ago

A Makefile or similar and/or a readme who to compile this chapter on linux (e.g. ubuntu) is missing.

hrabcak commented 9 years ago

Unfortunately we made this chapter for windows platform only. But there were a lot of changes in OpenGL since we wrote the chapter. In current OpenGL implementation the best approach is to use glBufferStorage with flags GL_MAP_WRITE_BIT | GL_MAP_PERSISTENT_BIT | GL_MAP_COHERENT_BIT.