DescriptionMake Image::lock and unlock private and call them from Image::loadData.
This is because I want loadData to be able to decide whether to use LockRect/UnlockRect or UpdateSurface as the method to load the data, depending on whether the Images are backed by textures in the default pool or not.
I think it actually cleans up the code a bit.
Also, fixed a bug in subImageCompressed. The associated WebGL conformance test now passes.
Committed: https://code.google.com/p/angleproject/source/detail?r=1013
Patch Set 1 : #
Total comments: 1
MessagesTotal messages: 2
|