#define VG_TEX2D_CLAMP 0x8
#define VG_TEX2D_NOMIP 0x10
-static u8 const_vg_tex2d_err[] =
-{
- 0x00, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0x00, 0xff,
- 0x00, 0x00, 0xff, 0xff,
- 0xff, 0xff, 0x00, 0xff
+static u8 const_vg_tex2d_err[] ={
+ 0xff,0x00,0xff,0xff, 0x00,0x00,0x00,0xff,
+ 0xff,0x00,0xff,0xff, 0x00,0x00,0x00,0xff,
+ 0x00,0x00,0x00,0xff, 0xff,0x00,0xff,0xff,
+ 0x00,0x00,0x00,0xff, 0xff,0x00,0xff,0xff,
+ 0xff,0x00,0xff,0xff, 0x00,0x00,0x00,0xff,
+ 0xff,0x00,0xff,0xff, 0x00,0x00,0x00,0xff,
+ 0x00,0x00,0x00,0xff, 0xff,0x00,0xff,0xff,
+ 0x00,0x00,0x00,0xff, 0xff,0x00,0xff,0xff,
};
#define QOI_SRGB 0
info->dest = dest;
info->flags = VG_TEX2D_NEAREST|VG_TEX2D_REPEAT|VG_TEX2D_NOMIP;
- info->width = 2;
- info->height = 2;
+ info->width = 4;
+ info->height = 4;
info->rgba = const_vg_tex2d_err;
vg_async_dispatch( call, async_vg_tex2d_upload );