bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #12160] NSOpenGLView does not seem to be working correctly


From: anonymous
Subject: [bugs #12160] NSOpenGLView does not seem to be working correctly
Date: Sun, 27 Feb 2005 05:27:01 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]