Update ContextCapabilities.java
This commit is contained in:
parent
9c3f0cb8ce
commit
ae26f56f2f
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue