From Trajce Nikolov, windows build fixes
This commit is contained in:
@@ -54,6 +54,7 @@ class OSGVIEWER_EXPORT PixelBufferWin32 : public osgViewer::GraphicsWindow
|
||||
|
||||
/** Make this graphics context current.*/
|
||||
virtual bool makeCurrentImplementation();
|
||||
virtual bool makeContextCurrentImplementation( GraphicsContext* /*readContext*/ );
|
||||
|
||||
/** Release the graphics context.*/
|
||||
virtual bool releaseContextImplementation();
|
||||
@@ -69,6 +70,8 @@ class OSGVIEWER_EXPORT PixelBufferWin32 : public osgViewer::GraphicsWindow
|
||||
/** Get native OpenGL graphics context.*/
|
||||
HGLRC getWGLContext() const { return _hglrc; }
|
||||
|
||||
virtual void bindPBufferToTextureImplementation( GLenum /*buffer*/ );
|
||||
|
||||
protected:
|
||||
|
||||
void init();
|
||||
|
||||
@@ -57,11 +57,6 @@ PixelBufferWin32::~PixelBufferWin32()
|
||||
{
|
||||
}
|
||||
|
||||
bool PixelBufferWin32::valid() const
|
||||
{
|
||||
return _valid;
|
||||
}
|
||||
|
||||
void PixelBufferWin32::init()
|
||||
{
|
||||
if (_initialized) return;
|
||||
@@ -76,11 +71,6 @@ bool PixelBufferWin32::realizeImplementation()
|
||||
osg::notify(osg::NOTICE) << "PixelBufferWin32::realizeImplementation() not implemented." << std::endl; return false;
|
||||
}
|
||||
|
||||
bool PixelBufferWin32::isRealizedImplementation() const
|
||||
{
|
||||
osg::notify(osg::NOTICE) << "PixelBufferWin32::isRealizedImplementation() not implemented." << std::endl; return false;
|
||||
}
|
||||
|
||||
void PixelBufferWin32::closeImplementation()
|
||||
{
|
||||
osg::notify(osg::NOTICE) << "PixelBufferWin32::closeImplementation() not implemented." << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user