• J
    Optimize GL staging surface and fix mac issue · 30af7dc2
    jp9000 提交于
    Staging surfaces with GL originally copied to a texture and then
    downloaded that copied texture, but I realized that there was really no
    real need to do that.  Now instead they'll copy directly from the
    texture that's given to them rather than copying to a buffer first.
    
    Secondly, hopefully fix the mac issue where the only way to perform an
    asynchronous texture download is via FBOs and glReadPixels.  It's a
    really dumb issue with macs and the amount of "gotchas" and non-standard
    internal GL functionaly on mac is really annoying.
    30af7dc2
gl-subsystem.h 13.4 KB