Results 1 to 4 of 4

Thread: Rendering Context With Docking

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Long time Later i found where i do wrong
    if handle is change its need use SetPixelFormat and ActivateRenderingContext

    my wrong i tryed to delete RC,DC ..



    pfd.dwFlags := PFD_DRAW_TO_WINDOW OR PFD_SUPPORT_OPENGL OR PFD_DOUBLEBUFFER;
    SetPixelFormat ( DC, ChoosePixelFormat ( DC, @pfd ), @pfd );
    ActivateRenderingContext( DC, wglCreateContext ( DC ), TRUE );

    Last edited by serkank; 22-10-2014 at 07:06 PM.

Bookmarks

Posting Permissions

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