xbmc/xbmc — comment on commit 4beaa15a4666ddbb83e7f1b2f78f40e0a96d3802
File:  line 0
By theuni:

Ideally this bytesperpixel stuff should be a query added for the renderer. We'd still need to ifdef there for gl_bgra, gl_bgra_ext and etc.. but at least we could consolidate it in one place. Also, it would be smarter there as we could check for extensions. so it wouldn't be gl vs gles, but has_bgr vs !has_bgr.

Will do up a pr when I get a chance.