def glGetFramebufferAttachmentParameter(target, attachment, pname): d = -2**31 # smallest 32bit integer params = (ctypes.c_int*1)(d) FBO.glGetFramebufferAttachmentParameteriv(target, attachment, pname, params) return params[0]
def glGetFramebufferAttachmentParameter(target, attachment, pname): d = -2**31 # smallest 32bit integer params = (ctypes.c_int * 1)(d) FBO.glGetFramebufferAttachmentParameteriv(target, attachment, pname, params) return params[0]