SDL_RenderPresent(renderer);. This should draw a pixel on the middle of screen. To read a pixel is a little more complicated. You can use SDL_RenderReadPixels() ...
確定! 回上一頁