Results 1 to 2 of 2

Thread: Direct Draw surfaces...easy question!

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Posts
    225

    Direct Draw surfaces...easy question!

    Hiyas!

    I know how to create surfaces in Direct Draw 7 - that's fairly simple. But, how can I destroy their contents and reset them (to reload them totally with new values/images), without stopping Direct X or exiting the program? What code would I need specifcally to do this to any surface? Is it as simple as 'Set SurfaceASDF = Nothing" - does that reset the size, image, etc.?

    Thanks for any help!

    -Git
    Last edited by git; Oct 21st, 2001 at 05:59 AM.

  2. #2
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    Yup, just use Set Surface = Nothing then re-initialize them the same way you did the first time...
    Teaudirenopossum.Musasapientumfixaestinaure.
    (I can't hear you. There's a banana in my ear)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width