URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12160>

                 Summary: NSOpenGLView does not seem to be working correctly
                 Project: GNUstep
            Submitted by: None
            Submitted on: Sun 02/27/2005 at 00:27
                Category: Gui/AppKit
                Severity: 5 - Average
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

I've tried several times to to create a Custom Class of NSOpenGLView in Gorm
and implementing the drawRect: method of the class; however, in the
application window, in the location of the View, nothing is draw.  All I can
see is the background image on my desktop  where the view's geometry should
be.  I thought this might be a problem with Gorm, so I wrote an Application
without it, and duplicated this behavior.  

I thought I might have been looking over something, so I recreated my
application in IB on OSX, and the Application displayed correctly what I
implemented in the drawRect: method.  

There is a working OpenGL example by Stephen Urbanek
See:
http://lists.gnu.org/archive/html/discuss-gnustep/2004-11/msg00191.html

but I'm not sure what exactly makes his example work.

My example code is included below.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 02/27/2005 at 00:27  Name: GLBugTest.tar.gz  Size: 34.08KB   By:
None
OpenGL Bug test applications
<http://savannah.gnu.org/bugs/download.php?item_id=12160&item_file_id=2243>

    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12160>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to