From patchwork Mon Feb 13 10:13:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: alexandros.frantzis@linaro.org X-Patchwork-Id: 6768 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A58A223ECA for ; Mon, 13 Feb 2012 10:31:39 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 6D611A1874D for ; Mon, 13 Feb 2012 10:31:39 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id z7so5329830iab.11 for ; Mon, 13 Feb 2012 02:31:39 -0800 (PST) Received: by 10.50.184.168 with SMTP id ev8mr25276578igc.29.1329129098029; Mon, 13 Feb 2012 02:31:38 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.66.135 with SMTP id n7cs51318ibi; Mon, 13 Feb 2012 02:31:37 -0800 (PST) Received: by 10.180.104.4 with SMTP id ga4mr17304106wib.17.1329129096825; Mon, 13 Feb 2012 02:31:36 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id s57si2536536weq.147.2012.02.13.02.31.36 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Feb 2012 02:31:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RwtC3-0000D5-O7 for ; Mon, 13 Feb 2012 10:31:35 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id A59C1E169B for ; Mon, 13 Feb 2012 10:13:12 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: glmark2 X-Launchpad-Branch: ~glmark2-dev/glmark2/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 194 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~glmark2-dev/glmark2/trunk] Rev 194: SceneDesktop: Add virtual destructor to class with virtual methods. Message-Id: <20120213101312.17381.68349.launchpad@ackee.canonical.com> Date: Mon, 13 Feb 2012 10:13:12 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14781"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: a16c71fc71eab93829f130b112fe03fae288cfec X-Gm-Message-State: ALoCoQl8aUqIXc+073JntEywFas4HvWCFClaNhSDDtna7nCEHiAwxR+luL0SSws2SkHHIFJXJ/Cr ------------------------------------------------------------ revno: 194 author: Jim Huang committer: Alexandros Frantzis branch nick: trunk timestamp: Mon 2012-02-13 11:43:54 +0200 message: SceneDesktop: Add virtual destructor to class with virtual methods. modified: src/scene-desktop.cpp --- lp:glmark2 https://code.launchpad.net/~glmark2-dev/glmark2/trunk You are subscribed to branch lp:glmark2. To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription === modified file 'src/scene-desktop.cpp' --- src/scene-desktop.cpp 2012-01-18 16:40:14 +0000 +++ src/scene-desktop.cpp 2012-02-13 09:43:54 +0000 @@ -110,6 +110,8 @@ texture_(0), fbo_(0), rotation_rad_(0), texture_contents_invalid_(true) { } + virtual ~RenderObject() {} + virtual void init() { /* Create a texture to draw to */