Lines Matching defs:tex2d
88 GLubyte tex2d[SIZE][SIZE][3];
93 tex2d[t][s][0] = s*255/(SIZE-1);
94 tex2d[t][s][1] = t*255/(SIZE-1);
95 tex2d[t][s][2] = 0;
105 GL_RGB, GL_UNSIGNED_BYTE, tex2d);
117 GLubyte tex2d[SIZE][SIZE][3];
123 tex2d[t][s][0] = on ? 128 : 0;
124 tex2d[t][s][1] = on ? 128 : 0;
125 tex2d[t][s][2] = on ? 128 : 0;
134 GL_RGB, GL_UNSIGNED_BYTE, tex2d);