istereo2
diff src/sanegl.h @ 6:3bccfc7d10fe
goatkit is drawing
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 23 Sep 2015 05:44:58 +0300 |
parents | 81d35769f546 |
children |
line diff
1.1 --- a/src/sanegl.h Tue Sep 22 07:13:47 2015 +0300 1.2 +++ b/src/sanegl.h Wed Sep 23 05:44:58 2015 +0300 1.3 @@ -74,6 +74,10 @@ 1.4 #define glVertexAttrib4f gl_vertex_attrib4f 1.5 #endif 1.6 1.7 +#ifdef __cplusplus 1.8 +extern "C" { 1.9 +#endif 1.10 + 1.11 /* matrix stuff */ 1.12 void gl_matrix_mode(int mmode); 1.13 void gl_push_matrix(void); 1.14 @@ -111,4 +115,8 @@ 1.15 void gl_vertex_attrib3f(int loc, float x, float y, float z); 1.16 void gl_vertex_attrib4f(int loc, float x, float y, float z, float w); 1.17 1.18 +#ifdef __cplusplus 1.19 +} 1.20 +#endif 1.21 + 1.22 #endif /* SANEGL_H_ */