also fix pixel ordering in gl10 code