Home | History | Annotate | Download | only in trivial

Lines Matching refs:SIZE

63 #define SIZE 32
65 GLubyte tex2d[SIZE][SIZE][3];
68 for (s = 0; s < SIZE; s++) {
69 for (t = 0; t < SIZE; t++) {
71 tex2d[t][s][0] = (s < SIZE/2) ? 0 : 255;
72 tex2d[t][s][1] = (t < SIZE/2) ? 0 : 255;
75 tex2d[t][s][0] = s*255/(SIZE-1);
76 tex2d[t][s][1] = t*255/(SIZE-1);
84 glTexImage2D(GL_TEXTURE_2D, 0, 3, SIZE, SIZE, 0,