1. Shankar Giri
  2. ogre

Commits

David Rogers  committed 54dfc6b

OS X: Provide an accessor to retrieve the NSOpenGLPixelFormat

  • Participants
  • Parent commits 6964b55
  • Branches v1-8

Comments (0)

Files changed (1)

File RenderSystems/GL/include/OSX/OgreOSXCocoaWindow.h

View file
 		NSView* ogreView() const { return mView; };
 		NSWindow* ogreWindow() const { return mWindow; };
 		NSOpenGLContext* nsopenGLContext() const { return mGLContext; };
+		NSOpenGLPixelFormat* nsopenGLPixelFormat() const { return mGLPixelFormat; };
 		void createWithView(OgreView *view);
 
 		void create(const String& name, unsigned int width, unsigned int height,