Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/RenderPlugins/Source/OpenGLRender/GLWidget.cpp
void GLWidget::resizeGL(int width, int height)
    {
        // don't resize in case the render widget is hidden
        if (isHidden())
        {
            return;
        }

        m_parentRenderPlugin->GetRenderUtil()->Validate();

        m_width  = width;
        m_height = height;
        m_gBuffer.Resize(width, height);

        RenderGL::GraphicsManager* graphicsManager = m_parentRenderPlugin->GetGraphicsManager();
        if (graphicsManager == nullptr || m_camera == nullptr)
        {
            return;
        }
    }
// resize the Qt OpenGL widget (overloaded from the widget base class)
resize the Qt OpenGL widget (overloaded from the widget base class)
resize the Qt OpenGL widget ( overloaded from the widget base class )
void GLWidget::resizeGL(int width, int height)
    {
        if (isHidden())
        {
            return;
        }
        m_parentRenderPlugin->GetRenderUtil()->Validate();
        m_width  = width;
        m_height = height;
        m_gBuffer.Resize(width, height);
        RenderGL::GraphicsManager* graphicsManager = m_parentRenderPlugin->GetGraphicsManager();
        if (graphicsManager == nullptr || m_camera == nullptr)
        {
            return;
        }
    }
void GLWidget :: resizeGL ( int width , int height ) { if ( isHidden ( ) ) { return ; } m_parentRenderPlugin -> GetRenderUtil ( ) -> Validate ( ) ; m_width = width ; m_height = height ; m_gBuffer . Resize ( width , height ) ; RenderGL :: GraphicsManager * graphicsManager = m_parentRenderPlugin -> GetGraphicsManager ( ) ; if ( graphicsManager == nullptr || m_camera == nullptr ) { return ; } }
resize the Qt OpenGL widget (overloaded from the widget base class)
resize the Qt OpenGL widget ( overloaded from the widget base class )
// don't resize in case the render widget is hidden