Blender Git Loki
Git Commits -> Revision 9893153
Revision 9893153 by Mike Erwin (master) August 8, 2016, 22:02 (GMT) |
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. |
Commit Details:
Full Hash: 9893153799386916a3f5f2d7274ee828685b8acf
Parent Commit: 39259fc
Lines Changed: +23, -30
1 Modified Path:
/source/blender/gpu/intern/gpu_framebuffer.c (+23, -30) (Diff)