goat3dgfx
diff src/opengl.cc @ 15:7d6b667821cf
wrapped everything in the goatgfx namespace
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 30 Nov 2013 20:52:21 +0200 |
parents | 1873dfd13f2d |
children |
line diff
1.1 --- a/src/opengl.cc Sat Nov 30 15:15:34 2013 +0200 1.2 +++ b/src/opengl.cc Sat Nov 30 20:52:21 2013 +0200 1.3 @@ -1,5 +1,9 @@ 1.4 #include "opengl.h" 1.5 1.6 +using namespace goatgfx; 1.7 + 1.8 +namespace goatgfx { 1.9 + 1.10 void init_opengl() 1.11 { 1.12 #ifdef __GLEW_H__ 1.13 @@ -27,3 +31,5 @@ 1.14 } 1.15 return errnames[err - GL_INVALID_ENUM]; 1.16 } 1.17 + 1.18 +} // namespace goatgfx