Merge pull request #662 from chinmaygarde/master

Fix issue caught by Chrome Clang plugin
This commit is contained in:
Chinmay Garde 2015-08-17 16:42:57 -07:00
commit d9ef04d3f7
2 changed files with 4 additions and 0 deletions

View File

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

View File

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