Help With Blitting
Does anybody know a FAST way of blitting a bitmap to the screen. I currently have a program which draws a world in 3D. I then blit a 2D bitmap to the screen as a HUD.
Currently I am using the "glDrawPixels()" Function (I think thats what its called, i''m doing it from memory), but when I implement the function the framerate halves from 90 FPS to 45 FPS. Does anyone know a better faster way of blitting?
Thanks in advance for any help
- Weasalmongler
This question is asked far far too often. Setup an orthographic projection matrix and use a textured quad (or a couple of them). You should notice a dramatic speed increase.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement