Hi,
If I write a class based on CGapiSurface, can I access the pixels directly using "m_surface.pSurface", or do I still need to call GetBuffer() beforehand?
I'm currently accessing the pixels directly without using GetBuffer() and it seems to work, but I want to make sure I'm doing the right thing.
Thanks!
--Eric
If I write a class based on CGapiSurface, can I access the pixels directly using "m_surface.pSurface", or do I still need to call GetBuffer() beforehand?
I'm currently accessing the pixels directly without using GetBuffer() and it seems to work, but I want to make sure I'm doing the right thing.
Thanks!
--Eric