gba-x3dtest

diff src/x3d.h @ 17:0a7f402892b3

texture mapping
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 26 Jun 2014 06:57:51 +0300
parents b755fb002f17
children
line diff
     1.1 --- a/src/x3d.h	Wed Jun 25 18:18:05 2014 +0300
     1.2 +++ b/src/x3d.h	Thu Jun 26 06:57:51 2014 +0300
     1.3 @@ -31,4 +31,9 @@
     1.4  void x3d_color_index(int cidx);
     1.5  void x3d_color(int32_t r, int32_t g, int32_t b);
     1.6  
     1.7 +int x3d_create_texture_rgb(int xsz, int ysz, const uint16_t *pixels);
     1.8 +void x3d_enable_texture(int texid);
     1.9 +void x3d_disable_texture(void);
    1.10 +int x3d_get_active_texture(void);
    1.11 +
    1.12  #endif	/* X3D_H_ */