Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2016-08-09 01:02:40 +0300
committerMike Erwin <significant.bit@gmail.com>2016-08-09 01:02:40 +0300
commit9893153799386916a3f5f2d7274ee828685b8acf (patch)
treefe4098cebb7374ae32f54b57b6aeb8c80e19290c /source/blender/gpu/GPU_debug.h
parent39259fc8ab2da78cf5de5ef59079657bbf01acff (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