(int width, int height, String name)
| 206 | } |
| 207 | |
| 208 | public static void allocateMipmapTextures(int width, int height, String name) |
| 209 | { |
| 210 | Dimension[] adimension = makeMipmapDimensions(width, height, name); |
| 211 | |
| 212 | for (int i = 0; i < adimension.length; ++i) |
| 213 | { |
| 214 | Dimension dimension = adimension[i]; |
| 215 | int j = dimension.width; |
| 216 | int k = dimension.height; |
| 217 | int l = i + 1; |
| 218 | GL11.glTexImage2D(GL11.GL_TEXTURE_2D, l, GL11.GL_RGBA, j, k, 0, GL12.GL_BGRA, GL12.GL_UNSIGNED_INT_8_8_8_8_REV, (ByteBuffer) null); |
| 219 | } |
| 220 | } |
| 221 | } |
nothing calls this directly
no test coverage detected