Direct pixel access using WinG
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Greetings, I thought this:
hbmTiles = WinGCreateBitmap(hdcBackbuffer, &bmi, (void**)&ptrTiles);
...would put the pixel data ofhbmTiles
intoptrTiles
. And it works, the pointer does indeed contain the correct pixel information, but if I write to it, nothing happens to the original bitmap. How can I apply this back to the bitmap? Thanks in advance!Windows Calculator told me I will die at 28. :(