Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

glDrawPixels

Name: Sadimir 2011-10-07 10:09

Images drawn with the glDrawPixels method only come our right half of the time  =/

Create 45x45 px image -> load it -> glDrawPixels -> image is ok
Change one color in photoshop -> resave -> glDrawPixels -> half of the image is grey

Most of the tiny images drawn using glDrawPixels seem to break like that (half becomes grey or whatever), larger images around 100x100 always come out ok.

What am I doing wrong OpenGL wizards, what is it about glDrawPixels I am missing?

Name: Sadimir 2011-10-08 16:07

Be so kind as to suggest something better.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List