Loading/displaying bitmaps in dll

I have an existing dll I’m trying to modify. This dll is used by another program (which I cannot modify) to display some simple menus using opengl. I now need the ability for this dll to display a bitmap image. I have been able to do this successfully through auxDIBImageLoad. But, the problem is that the dll function has to load the image every pass. I think this is causing my cpu usage to go way up when I display the bitmap. Is there a way around this?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.