()
| 2285 | |
| 2286 | |
| 2287 | protected int getMaxTexUnits() { |
| 2288 | intBuffer.rewind(); |
| 2289 | getIntegerv(MAX_TEXTURE_IMAGE_UNITS, intBuffer); |
| 2290 | return intBuffer.get(0); |
| 2291 | } |
| 2292 | |
| 2293 | |
| 2294 | protected static ByteBuffer allocateDirectByteBuffer(int size) { |
no test coverage detected