j
k
j a
j l
No, you shouldn't be accessing the surface per byte either, the access should depend on the format, i.e. for a 32-bit format you want to access DWORD by DWORD.
This defeats the point of a format-independent conversion function I think
Back to the thread
Back to the list