| 40 { GL_INVALID_FRAMEBUFFER_OPERATION, "Framebuffer object is not complete"}, |
40 { GL_INVALID_FRAMEBUFFER_OPERATION, "Framebuffer object is not complete"}, |
| 41 { GL_OUT_OF_MEMORY, "Out of memory" }, |
41 { GL_OUT_OF_MEMORY, "Out of memory" }, |
| 42 { GL_STACK_UNDERFLOW, "The operation would have caused an underflow" }, |
42 { GL_STACK_UNDERFLOW, "The operation would have caused an underflow" }, |
| 43 { GL_STACK_OVERFLOW, "The operation would have caused an overflow" }, |
43 { GL_STACK_OVERFLOW, "The operation would have caused an overflow" }, |
| 44 }; |
44 }; |
| 45 |
|
| 46 ConfigOption (QString SelectColorBlend = "#0080FF") |
|
| 47 |
45 |
| 48 void CheckGLErrorImpl (const char* file, int line) |
46 void CheckGLErrorImpl (const char* file, int line) |
| 49 { |
47 { |
| 50 QString errmsg; |
48 QString errmsg; |
| 51 GLenum errnum = glGetError(); |
49 GLenum errnum = glGetError(); |