Archived

This topic is now archived and is closed to further replies.

vbisme

GetAttachedSurface()

Recommended Posts

vbisme    100
When I call DD7 GetAttachedSurface() I get the return error as DDERR_NOTFOUND: Requested item was not found. I don''t know what''s wrong. I created my own function to create a primary complex surface with 1 back buffer. Before when I pass the structure DDSCAPS2 as a param to my function everything works fine, but when I localized the variable instead of global and passed as a param as before the GetAttachedSurface() returns that error.

Share this post


Link to post
Share on other sites