Wait, `glGetFramebufferAttachmentParameter` is in there. Or do you mean that the constants are not? In the latter case, you could take the constants from elsewhere and that should work on desktop gl, but not on "real" es 2.0