Opengl Error!!!

GL_INVALID_ENUM​, 0x0500




Given when an enumeration parameter is not a legal enumeration for that function. This is given only for local problems; if the spec allows the enumeration in certain circumstances, where other parameters or state dictate those circumstances, then GL_INVALID_OPERATION​ is the result instead.




GL_INVALID_VALUE​, 0x0501
Given when a value parameter is not a legal value for that function. This is only given for local problems; if the spec allows the value in certain circumstances, where other parameters or state dictate those circumstances, then GL_INVALID_OPERATION is the result instead.




GL_INVALID_OPERATION​, 0x0502


Given when the set of state for a command is not legal for the parameters given to that command. It is also given for commands where combinations of parameters define what the legal parameters are.




GL_STACK_OVERFLOW​, 0x0503


Given when a stack pushing operation cannot be done because it would overflow the limit of that stack's size.


GL_STACK_UNDERFLOW​, 0x0504


Given when a stack popping operation cannot be done because the stack is already at its lowest point.


GL_OUT_OF_MEMORY​, 0x0505


Given when performing an operation that can allocate memory, and the memory cannot be allocated. The results of OpenGL functions that return this error are undefined; it is allowable for partial operations to happen.


GL_INVALID_FRAMEBUFFER_OPERATION​, 0x0506


Given when doing anything that would attempt to read from or write/render to a framebuffer that is not complete.
GL_TABLE_TOO_LARGE​1, 0x8031
Part of the ARB_imaging extension.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值