Skip to main content
gamedev.net
๐Ÿ”’ Locked

D3DXLoadSurfaceFromResource?

Started by LJR Dec 28, 2004 at 4:17 PM 0 replies 1.5k views
Original Post
LJR
LJR
Does anyone know how to properly load/display a surface from a resource instead of a bitmap file? Here is my old method: IDirect3DSurface9* getSurfaceFromBitmap(std::string filename); bkgrd = getSurfaceFromBitmap(./background.bmp");
LJRlordjonray@gmail.comhttp://www.lordjonray.com/gamedev
Muhammad Haggag
Muhammad Haggag
D3DXCreateTextureFromResource and D3DXCreateTextureFromResourceEx. Then use GetSurfaceLevel

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.