diff options
author | Michael BrĂ¼ning <michael.bruning@digia.com> | 2014-09-26 15:11:49 +0200 |
---|---|---|
committer | Michael Bruning <michael.bruning@digia.com> | 2014-09-26 15:17:55 +0200 |
commit | 00fbe73457b5040dbbf671b3e85f889240299e2f (patch) | |
tree | 247baf86754112a7ca20b283307416fab4b4da3a /examples | |
parent | 833e8261264b5eddac030e477ba18a2d62a6bd97 (diff) |
[Win] Use automatic destruction for PbufferGLSurfaceWGL.
PbufferGLSurfaceWGL is a reference counted class, hence deleting
it manually triggers an assert in debug builds if Release is not
called or the reference count is non-zero.
Using a scoped_refptr prevents this and deletes the object
correctly.
Change-Id: I7e5ff783afc367e06d872b8d118c2ff83627b836
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions