Re: [AD] macro namespaces |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Peter Wang wrote:
Hi, Milan's latest commit adds a platform configuration macro ALLEGRO_OGL. I wondered why it was called that instead of ALLEGRO_OPENGL, but of course ALLEGRO_OPENGL is already the name of a display flag. Similarly with ALLEGRO_DIRECT3D and ALLEGRO_D3D. I think we need to start distinguishin the configuration macros from other macros, e.g. ALLEGRO_CFG_OPENGL. We had the same confusions in Allegro 4.
Replaced ALLEGRO_OGL with ALLEGRO_CFG_OPENGL.Also found that there already was a5_opengl.h header file, which seems to be the right place to put public OpenGL-related API, so moved the contents of opengl/algl.h there.
-- Milan Mimica http://sparklet.sf.net
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |