Results 1 to 4 of 4

Thread: Open GL ES application exit trouble

  1. #1
    Guest

    Open GL ES application exit trouble

    I tried some Vincent examples (which use ug.h) and there are bug (both on Emulator and Pocket PC) - when i do exit(0) it's frozes. It's came only when the application works a few minutes, if i try to exit earlier than one minute of application workin' it's exit correctly. Plz. help to fix it.

  2. #2
    Senior Member
    Join Date
    Sep 2003
    Location
    Seattle, WA
    Posts
    246

    Re: Open GL ES application exit trouble

    Quote Originally Posted by ŽB!N
    I tried some Vincent examples (which use ug.h) and there are bug (both on Emulator and Pocket PC) - when i do exit(0) it's frozes. It's came only when the application works a few minutes, if i try to exit earlier than one minute of application workin' it's exit correctly. Plz. help to fix it.
    Yeah, that's a problem with the examples, I guess. Windows Mobile and stdlib don't go too well together.

    The correct way is probably to call ugDestroyWindow, which in turn will trigger a PostQuitMessage(0) in the main loop, which should yield a proper cleanup. Haven't tried it myself, but it's my best guess.

    - HM

  3. #3
    Guest
    i've tried it, but it's don't help for 100%. I guess, the best way don't use the uh library.

  4. #4
    Senior Member
    Join Date
    Sep 2003
    Location
    Seattle, WA
    Posts
    246
    Quote Originally Posted by ŽB!N
    I guess, the best way don't use the uh library.
    yep, that's what I do...

Similar Threads

  1. Open Application Accelerator
    By avk in forum OpenKODE discussions
    Replies: 1
    Last Post: 09-09-2008, 02:55 AM
  2. sample open max application
    By vineeth in forum OpenMAX
    Replies: 0
    Last Post: 01-01-1970, 12:00 AM

Posting Permissions

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