Advertisement

GetAttachedSurface()

Started by June 26, 2001 03:07 PM
0 comments, last by vbisme 23 years, 7 months ago
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.
I suggest keeping the back buffer pointer global anyway, I found parsing screen surfaces can get messy and cause various problems.

  Game Download  ZeroOne Realm

  Downloads:  ZeroOne Realm

This topic is closed to new replies.

Advertisement