Lines Matching defs:SIZE
45 #define SIZE 16
47 GLubyte tex2d[SIZE][SIZE][3];
50 for (s = 0; s < SIZE; s++) {
51 for (t = 0; t < SIZE; t++) {
53 tex2d[t][s][0] = (s < SIZE / 2) ? 0 : 255;
54 tex2d[t][s][1] = (t < SIZE / 2) ? 0 : 255;
57 tex2d[t][s][0] = s * 255 / (SIZE - 1);
58 tex2d[t][s][1] = t * 255 / (SIZE - 1);
71 glTexImage2D(GL_TEXTURE_2D, 0, 3, SIZE, SIZE, 0,