2009/11/6 Henri Verbeet hverbeet@gmail.com:
If changing the usage makes it work, that's ok. Maybe try just passing 0 for usage. The texture doesn't have to be lockable, all we care about is having a unique texture pointer for the SetTexture()/GetTexture() calls.
I.e., does the attached patch work for you?