Lines Matching refs:tex2d
295 ubyte tex2d[SIZE][SIZE][4]; in init_tex() local
303 tex2d[t][s][0] = (x) ? 0 : 63; in init_tex()
304 tex2d[t][s][1] = (x) ? 0 : 128; in init_tex()
305 tex2d[t][s][2] = 0; in init_tex()
306 tex2d[t][s][3] = 0xff; in init_tex()
310 tex2d[t][s][0] = s*255/(SIZE-1); in init_tex()
311 tex2d[t][s][1] = t*255/(SIZE-1); in init_tex()
312 tex2d[t][s][2] = (x) ? 0 : 128; in init_tex()
313 tex2d[t][s][3] = 0xff; in init_tex()
318 tex2d[0][0][0] = 0; in init_tex()
319 tex2d[0][0][1] = 255; in init_tex()
320 tex2d[0][0][2] = 255; in init_tex()
321 tex2d[0][0][3] = 0; in init_tex()
323 tex2d[0][1][0] = 0; in init_tex()
324 tex2d[0][1][1] = 0; in init_tex()
325 tex2d[0][1][2] = 255; in init_tex()
326 tex2d[0][1][3] = 255; in init_tex()
328 tex2d[1][0][0] = 255; in init_tex()
329 tex2d[1][0][1] = 255; in init_tex()
330 tex2d[1][0][2] = 0; in init_tex()
331 tex2d[1][0][3] = 255; in init_tex()
333 tex2d[1][1][0] = 255; in init_tex()
334 tex2d[1][1][1] = 0; in init_tex()
335 tex2d[1][1][2] = 0; in init_tex()
336 tex2d[1][1][3] = 255; in init_tex()
362 tex2d, in init_tex()
363 sizeof tex2d[0], in init_tex()
364 sizeof tex2d); in init_tex()
379 if (memcmp(ptr, tex2d, sizeof tex2d) != 0) { in init_tex()