X-Git-Url: https://harrygodden.com/git/?p=vg.git;a=blobdiff_plain;f=vg_tex.c;fp=vg_tex.c;h=8791dd8830b1d163197b05069e40b51ddad1d1cc;hp=1ed8c96eb5cfdd29714f175fb54e5d62727f28a8;hb=44e70cb7cea5ef7d99893b4760abfb6fdccf8845;hpb=dc8707f1511204625ad916388917f4d1daa11772 diff --git a/vg_tex.c b/vg_tex.c index 1ed8c96..8791dd8 100644 --- a/vg_tex.c +++ b/vg_tex.c @@ -5,6 +5,7 @@ #include static u8 const_vg_tex2d_err[] ={ +#ifdef VG_DEBUG 0xff,0x00,0xff,0xff, 0x00,0x00,0x00,0xff, 0xff,0x00,0xff,0xff, 0x00,0x00,0x00,0xff, 0x00,0x00,0x00,0xff, 0xff,0x00,0xff,0xff, @@ -13,6 +14,16 @@ static u8 const_vg_tex2d_err[] ={ 0xff,0x00,0xff,0xff, 0x00,0x00,0x00,0xff, 0x00,0x00,0x00,0xff, 0xff,0x00,0xff,0xff, 0x00,0x00,0x00,0xff, 0xff,0x00,0xff,0xff, +#else + 0x00,0x00,0x00,0xff, 0x00,0x00,0x00,0xff, + 0x00,0x00,0x00,0xff, 0x00,0x00,0x00,0xff, + 0x00,0x00,0x00,0xff, 0x00,0x00,0x00,0xff, + 0x00,0x00,0x00,0xff, 0x00,0x00,0x00,0xff, + 0x00,0x00,0x00,0xff, 0x00,0x00,0x00,0xff, + 0x00,0x00,0x00,0xff, 0x00,0x00,0x00,0xff, + 0x00,0x00,0x00,0xff, 0x00,0x00,0x00,0xff, + 0x00,0x00,0x00,0xff, 0x00,0x00,0x00,0xff, +#endif }; #define QOI_SRGB 0