Lines Matching defs:SIZE
41 #define SIZE 32
43 GLubyte tex2d[SIZE][SIZE][3];
46 for (s = 0; s < SIZE; s++) {
47 for (t = 0; t < SIZE; t++) {
49 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
50 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
53 tex2d[t][s][0] = s*255/(SIZE-1);
54 tex2d[t][s][1] = t*255/(SIZE-1);
62 glTexImage2D(GL_TEXTURE_2D, 0, 3, SIZE, SIZE, 0,