From Stephan Huber, files were are missed by Robert in check in of changes to GraphicsWindowCarbon.cpp
This commit is contained in:
parent
d040b9f9d6
commit
771f3a3238
@ -19,7 +19,7 @@
|
|||||||
#ifndef OSGVIEWER_GRAPHICSWINDOWCARBON
|
#ifndef OSGVIEWER_GRAPHICSWINDOWCARBON
|
||||||
#define OSGVIEWER_GRAPHICSWINDOWCARBON 1
|
#define OSGVIEWER_GRAPHICSWINDOWCARBON 1
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#if defined (__APPLE__) && (!__LP64__)
|
||||||
|
|
||||||
#include <osgViewer/GraphicsWindow>
|
#include <osgViewer/GraphicsWindow>
|
||||||
#include <Carbon/Carbon.h>
|
#include <Carbon/Carbon.h>
|
||||||
@ -143,6 +143,8 @@ class GraphicsWindowCarbon : public osgViewer::GraphicsWindow
|
|||||||
// get the pixelformat
|
// get the pixelformat
|
||||||
AGLPixelFormat getAGLPixelFormat() { return _pixelFormat; }
|
AGLPixelFormat getAGLPixelFormat() { return _pixelFormat; }
|
||||||
|
|
||||||
|
void adaptResize(int x, int y, int w, int h);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
void init();
|
void init();
|
||||||
@ -150,9 +152,6 @@ class GraphicsWindowCarbon : public osgViewer::GraphicsWindow
|
|||||||
void transformMouseXY(float& x, float& y);
|
void transformMouseXY(float& x, float& y);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bool _valid;
|
bool _valid;
|
||||||
bool _initialized;
|
bool _initialized;
|
||||||
bool _realized;
|
bool _realized;
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#ifndef OSGVIEWER_PIXELBUFFERCARBON
|
#ifndef OSGVIEWER_PIXELBUFFERCARBON
|
||||||
#define OSGVIEWER_PIXELBUFFERCARBON 1
|
#define OSGVIEWER_PIXELBUFFERCARBON 1
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#if defined (__APPLE__) && (!__LP64__)
|
||||||
|
|
||||||
#include <osg/GraphicsContext>
|
#include <osg/GraphicsContext>
|
||||||
#include <osgViewer/Export>
|
#include <osgViewer/Export>
|
||||||
|
Loading…
Reference in New Issue
Block a user