(int target, int offset, int length, int access)
| 1182 | } |
| 1183 | |
| 1184 | @Override |
| 1185 | public ByteBuffer mapBufferRange(int target, int offset, int length, int access) { |
| 1186 | if (gl2x != null) { |
| 1187 | return gl2x.glMapBufferRange(target, offset, length, access); |
| 1188 | } else if (gl3 != null) { |
| 1189 | return gl3.glMapBufferRange(target, offset, length, access); |
| 1190 | } else { |
| 1191 | throw new RuntimeException(String.format(MISSING_GLFUNC_ERROR, "glMapBufferRange()")); |
| 1192 | } |
| 1193 | } |
| 1194 | |
| 1195 | @Override |
| 1196 | public void unmapBuffer(int target) { |