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