Original Post
Hi, anyone familiar with the glDrawPixels function? im having trouble displaying pixels on the screen..
Quote:Are you sure you aren't drawing anything as opposed to just drawing a block of 16 pixels, say in the bottom-left corner of the screen? If you want to draw the entire pixels array you need to change the width and height parameters to glDrawPixels.
Original post by prophete
glDrawPixels(4.0, 4.0, GL_RGB, GL_FLOAT, pixels);
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more