Lines Matching defs:imageSize
58 #define imageSize 4
59 static GLubyte image1[imageSize][imageSize][4];
60 static GLubyte image2[imageSize][imageSize][4];
61 static GLubyte image3[imageSize][imageSize][4];
62 static GLubyte image4[imageSize][imageSize][4];
63 static GLubyte image5[imageSize][imageSize][4];
64 static GLubyte image6[imageSize][imageSize][4];
72 for (i = 0; i < imageSize; i++) {
73 for (j = 0; j < imageSize; j++) {
123 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT, 0, GL_RGBA, imageSize,
124 imageSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, image1);
125 glTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT, 0, GL_RGBA, imageSize,
126 imageSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, image4);
127 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT, 0, GL_RGBA, imageSize,
128 imageSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, image2);
129 glTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT, 0, GL_RGBA, imageSize,
130 imageSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, image5);
131 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT, 0, GL_RGBA, imageSize,
132 imageSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, image3);
133 glTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT, 0, GL_RGBA, imageSize,
134 imageSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, image6);