mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #662 from chinmaygarde/master
Fix issue caught by Chrome Clang plugin
This commit is contained in:
commit
d9ef04d3f7
@ -28,6 +28,8 @@ class GL_EXPORT GLSurfaceIOS : public GLSurface {
|
||||
uint32_t depth_stencil_packed_buffer_;
|
||||
Size last_configured_size_;
|
||||
bool framebuffer_setup_complete_;
|
||||
|
||||
~GLSurfaceIOS() override;
|
||||
void SetupFramebufferIfNecessary();
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(GLSurfaceIOS);
|
||||
|
||||
@ -30,6 +30,8 @@ GLSurfaceIOS::GLSurfaceIOS(gfx::AcceleratedWidget widget,
|
||||
framebuffer_setup_complete_(false) {
|
||||
}
|
||||
|
||||
GLSurfaceIOS::~GLSurfaceIOS() {}
|
||||
|
||||
#ifndef NDEBUG
|
||||
static void GLSurfaceIOS_AssertFramebufferCompleteness(void) {
|
||||
GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user