I don't know if anyone can help, but I want to use glDrawPixels(). I want to use my own created colour buffer which so far is an array of self made variable Colour. But I'm not sure how to go about this, anyone have any solutions/suggestions?
My current solution which doesn't work is:
glDrawPixels(400, 400, GL_RGB, GL_FLOAT, colourBuffer);