Kaydet (Commit) 2fc2f752 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin unused field

Change-Id: I664e3815bcdaff82a03309ae387154914471a80b
üst bfd69070
...@@ -69,7 +69,6 @@ protected: ...@@ -69,7 +69,6 @@ protected:
SalGraphics& mrParent; SalGraphics& mrParent;
/// Pointer to the SalFrame or SalVirtualDevice /// Pointer to the SalFrame or SalVirtualDevice
SalGeometryProvider* mpProvider; SalGeometryProvider* mpProvider;
OpenGLFramebuffer* mpFramebuffer;
OpenGLProgram* mpProgram; OpenGLProgram* mpProgram;
/// This idle handler is used to swap buffers after rendering. /// This idle handler is used to swap buffers after rendering.
......
...@@ -65,7 +65,6 @@ OpenGLSalGraphicsImpl::OpenGLSalGraphicsImpl(SalGraphics& rParent, SalGeometryPr ...@@ -65,7 +65,6 @@ OpenGLSalGraphicsImpl::OpenGLSalGraphicsImpl(SalGraphics& rParent, SalGeometryPr
: mpContext(nullptr) : mpContext(nullptr)
, mrParent(rParent) , mrParent(rParent)
, mpProvider(pProvider) , mpProvider(pProvider)
, mpFramebuffer(nullptr)
, mpProgram(nullptr) , mpProgram(nullptr)
, mpFlush(new OpenGLFlushIdle(this)) , mpFlush(new OpenGLFlushIdle(this))
, mbUseScissor(false) , mbUseScissor(false)
...@@ -470,13 +469,13 @@ bool OpenGLSalGraphicsImpl::CheckOffscreenTexture() ...@@ -470,13 +469,13 @@ bool OpenGLSalGraphicsImpl::CheckOffscreenTexture()
// TODO: lfrb: User GL_ARB_copy_image? // TODO: lfrb: User GL_ARB_copy_image?
OpenGLTexture aNewTex = OpenGLTexture( GetWidth(), GetHeight() ); OpenGLTexture aNewTex = OpenGLTexture( GetWidth(), GetHeight() );
mpFramebuffer = mpContext->AcquireFramebuffer( aNewTex ); mpContext->AcquireFramebuffer( aNewTex );
DrawTexture( maOffscreenTex, aPosAry ); DrawTexture( maOffscreenTex, aPosAry );
maOffscreenTex = aNewTex; maOffscreenTex = aNewTex;
} }
else else
{ {
mpFramebuffer = mpContext->AcquireFramebuffer( maOffscreenTex ); mpContext->AcquireFramebuffer( maOffscreenTex );
CHECK_GL_ERROR(); CHECK_GL_ERROR();
if( bClearTexture ) if( bClearTexture )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment