From Trajce Nikolov, windows build fixes

This commit is contained in:
Robert Osfield
2007-06-21 11:20:54 +00:00
parent 4677fe20a7
commit e8a65e4cff
2 changed files with 3 additions and 10 deletions

View File

@@ -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();

View File

@@ -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;