Lines Matching defs:SIZE
46 #define SIZE 32
48 GLubyte tex2d[SIZE][SIZE][3];
51 for (s = 0; s < SIZE; s++) {
52 for (t = 0; t < SIZE; t++) {
54 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
55 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
58 tex2d[t][s][0] = s*255/(SIZE-1);
59 tex2d[t][s][1] = t*255/(SIZE-1);
68 glTexImage1D(Target, 0, 3, SIZE, 0, GL_RGB, GL_UNSIGNED_BYTE, tex2d);
70 glTexImage2D(Target, 0, 3, SIZE, SIZE, 0,