From bb3157c9c1a2c642427ad4d75108146601925e87 Mon Sep 17 00:00:00 2001
From: jsyishan GL_INVALID_ENUM
is generated if target
is not one of the accepted tokens.
- GL_INVALID_ENUM
is generated if renderbuffertarget
is not GL_RENDERBUFFER
.
+ GL_INVALID_ENUM
is generated if attachment
is not one of the attachment points listed above.
GL_INVALID_OPERATION
is generated if zero is bound to target
.