diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-08-09 01:02:40 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-08-09 01:02:40 +0300 |
commit | 9893153799386916a3f5f2d7274ee828685b8acf (patch) | |
tree | fe4098cebb7374ae32f54b57b6aeb8c80e19290c /source/blender/gpu/GPU_debug.h | |
parent | 39259fc8ab2da78cf5de5ef59079657bbf01acff (diff) |
OpenGL: fix FBO error messages
Old code had a mix of framebuffer error codes from OpenGL ES, EXT_framebuffer_object, and desktop GL. We use desktop GL (or ARB_framebuffer_object which acts just like GL 3.x) so I made it compatible with that.
Changed messages to the actual GL_FRAMEBUFFER_XXX symbols. These are less friendly and more accurate. Can easily look up what an error means, unfiltered by what a Blender dev thinks it means.
Kept ES error codes around in case we support that one day. Just flip the #if or use a compile-time option.
Diffstat (limited to 'source/blender/gpu/GPU_debug.h')
0 files changed, 0 insertions, 0 deletions