diff --git a/AUTHORS b/AUTHORS index 0bdb65ee9..b79bb5d16 100644 --- a/AUTHORS +++ b/AUTHORS @@ -20,6 +20,7 @@ Intel Corporation Mozilla Corporation Turbulenz Klarälvdalens Datakonsult AB +Microsoft Open Technologies, Inc. Jacek Caban Mark Callow diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 7d152e7ab..8c24c47f3 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -78,3 +78,6 @@ Ulrik Persson (ddefrostt) Mark Banner (standard8mbp) David Kilzer +Microsoft Open Technologies, Inc. +Cooper Partin +Austin Kinross diff --git a/src/libGLESv2/Renderbuffer.cpp b/src/libGLESv2/Renderbuffer.cpp index 8f9cfb9c9..1c65dafe6 100644 --- a/src/libGLESv2/Renderbuffer.cpp +++ b/src/libGLESv2/Renderbuffer.cpp @@ -29,6 +29,11 @@ Renderbuffer::Renderbuffer(GLuint id, RenderbufferStorage *newStorage) ASSERT(mStorage); } +Renderbuffer::~Renderbuffer() +{ + SafeDelete(mStorage); +} + void Renderbuffer::setStorage(RenderbufferStorage *newStorage) { ASSERT(newStorage); diff --git a/src/libGLESv2/Renderbuffer.h b/src/libGLESv2/Renderbuffer.h index e2d0c6b0f..6c64bc403 100644 --- a/src/libGLESv2/Renderbuffer.h +++ b/src/libGLESv2/Renderbuffer.h @@ -39,6 +39,7 @@ class Renderbuffer : public RefCountObject { public: Renderbuffer(GLuint id, RenderbufferStorage *newStorage); + virtual ~Renderbuffer(); void setStorage(RenderbufferStorage *newStorage); RenderbufferStorage *getStorage();