evian
06-19-2005, 10:30 PM
I use glDrawPixels to draw an array on the screen.
But the all pixels on coordinate x=0 are not drawn. Can you imagine the reason? It looks like, as if there is a white line, but it is not in my data. And it does not help if I increase the window size.
I use the following to create the window:
glutInitWindowSize(Width,Height);
glutCreateWindow("Name");
I use this for glDraw Pixels :
Picture[y][x][RGB]=value;
glDrawPixels(.........,Picture);
But the all pixels on coordinate x=0 are not drawn. Can you imagine the reason? It looks like, as if there is a white line, but it is not in my data. And it does not help if I increase the window size.
I use the following to create the window:
glutInitWindowSize(Width,Height);
glutCreateWindow("Name");
I use this for glDraw Pixels :
Picture[y][x][RGB]=value;
glDrawPixels(.........,Picture);