Results 1 to 2 of 2

Thread: Multiple GL Views

  1. #1
    Member Contributor
    Join Date
    Jan 2001
    Location
    Canada
    Posts
    86

    Multiple GL Views

    Hi all,
    Im using VC6 (MFC).
    Ive multiple OpenGL enabled views in my app. The user can navigate from one to the other by tabbing (views are separated by tabs). All the tabbed views are created in MainFrames OnCreateClient. The issue is that if i do create more than one OpenGL view...it screws up the other. ONe works great on its own, but when i add another to the framework, the initial GL view does not appear. Its as if the creation of one GL view is interfering with another. Has any1 ever seen this before.
    Any help would be appreciated...

  2. #2
    Member Contributor
    Join Date
    Jan 2001
    Location
    Canada
    Posts
    86

    Re: Multiple GL Views

    Forget it...silly mistake. Had to make the context not current after OnPaint() of initial view, then make it current for the next view...

Similar Threads

  1. Multiple views of the same scene in multiple wndws
    By jesusgumbau in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 02-17-2010, 09:22 AM
  2. Multiple Views?
    By gh001 in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 02-21-2008, 08:48 AM
  3. Multiple views and screens
    By Gemelli David in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 03-13-2002, 02:08 PM
  4. Multiple Views
    By Derek Doucett in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 09-02-2000, 03:38 AM
  5. Multiple Views
    By Derek Doucett in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-01-2000, 02:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean