gldtGetShaderiv function

int gldtGetShaderiv(
  1. int shader,
  2. int pname
)

Implementation

int gldtGetShaderiv(int shader, int pname) {
  var paramPtr = calloc<Int32>();
  int param;
  glGetShaderiv(shader, pname, paramPtr);
  param = paramPtr.value;
  calloc.free(paramPtr);
  return param;
}