mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 06:53:59 +00:00
Buffer checking code
This commit is contained in:
parent
fd56dd232a
commit
061e1a76d1
51 changed files with 499 additions and 655 deletions
|
|
@ -46,10 +46,12 @@ public class NVRegisterCombiners2
|
|||
public static final int GL_PER_STAGE_CONSTANTS_NV = 0x8535;
|
||||
|
||||
public static void glCombinerStageParameterNV(int stage, int pname, FloatBuffer pfParams) {
|
||||
BufferChecks.checkBuffer(pfParams);
|
||||
nglCombinerStageParameterfvNV(stage, pname, pfParams, pfParams.position());
|
||||
}
|
||||
private static native void nglCombinerStageParameterfvNV(int stage, int pname, FloatBuffer pfParams, int pfParams_offset);
|
||||
public static void glGetCombinerStageParameterNV(int stage, int pname, FloatBuffer pfParams) {
|
||||
BufferChecks.checkBuffer(pfParams);
|
||||
nglGetCombinerStageParameterfvNV(stage, pname, pfParams, pfParams.position());
|
||||
}
|
||||
private static native void nglGetCombinerStageParameterfvNV(int stage, int pname, FloatBuffer pfParams, int pfParams_offset);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue