aboutsummaryrefslogtreecommitdiffstats
path: root/make/glu-impl-common-CustomJavaCode.java
blob: 04505db55e506fb70774410929afb1c869d65c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
/** Indicates whether the given GLU routine is available to be called. */
public boolean isFunctionAvailable(String gluFunctionName)
{
  return (gluProcAddressTable.getAddressFor(gluFunctionName) != 0);
}

private GLUProcAddressTable gluProcAddressTable;
public GLUImpl(GLUProcAddressTable gluProcAddressTable)
{
  this.gluProcAddressTable = gluProcAddressTable;
}