Quote:
Original post by Khaosifix
In the SDL documentations SDL_Surface::pixels is defined as a void*. How is it possible to perform arithmetics on a void*? C++ is a weird language...
void* simply means "some pointer", alone it means nothing, but if you type cast it, you can actually use it. Using void* is an advance topic that takes some time to understand, so don't worry if you dont get it, you wont use it in your own code.