OSScreenPutPixelEx will draw a pixel of a certain color to the specified coordinates. This just writes the input u32 to the target location in the framebuffer, nothing is done with the data already stored in the framebuffer.
Usage (draw a line):
for(int x = 50; x < 600; ++x)
{
OSScreenPutPixelEx(1, x, 20, 0xFF8000FF);
}
OSScreenPutPixelEx will draw a pixel of a certain color to the specified coordinates. This just writes the input u32 to the target location in the framebuffer, nothing is done with the data already stored in the framebuffer.
Usage (draw a line):