put tinygl internals into namespace, left only api

This commit is contained in:
Pawel Kolodziejski 2009-05-25 13:19:29 +00:00
parent 7ad12a0856
commit 49b578ec6a
28 changed files with 367 additions and 285 deletions

View file

@ -1,6 +1,8 @@
#include "graphics/tinygl/zgl.h"
namespace TinyGL {
// image conversion
void gl_convertRGB_to_5R6G5B8A(unsigned short *pixmap, unsigned char *rgba, int xsize, int ysize) {
@ -140,3 +142,5 @@ void gl_resizeImageNoInterpolate(unsigned char *dest, int xsize_dest, int ysize_
y1 += y1inc;
}
}
} // end of namespace TinyGL