Home | History | Annotate | Download | only in trivial

Lines Matching refs:SIZE

49 #define SIZE 16
51 GLubyte tex2d[SIZE][SIZE][4];
54 for (s = 0; s < SIZE; s++) {
55 for (t = 0; t < SIZE; t++) {
59 tex2d[t][s][1] = t*255/(SIZE-1);
60 tex2d[t][s][2] = s*255/(SIZE-1);
70 SIZE * SIZE * 4, tex2d, GL_STATIC_DRAW);
81 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, SIZE, SIZE, 0,