Update ContextCapabilities.java

This commit is contained in:
Tungstend 2023-07-30 15:45:12 +08:00
parent 9c3f0cb8ce
commit ae26f56f2f
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ public class ContextCapabilities {
} catch (Exception e) { } catch (Exception e) {
} }
} }
if (name.equals("glGetBufferSubData") || name.equals("glBufferSubData")){ if (name.equals("glGetBufferSubData") || name.equals("glBufferSubData")) {
Field f = this.getClass().getField(name); Field f = this.getClass().getField(name);
f.setLong(this, field.getLong(cap)); f.setLong(this, field.getLong(cap));
} }