Mercurial > hg > orthanc-stone
comparison Framework/Fonts/GlyphAlphabet.cpp @ 947:1091b2adeb5a toa2019081001
Fixed animation frame stopping when returning false + big work on the OpenGL
objects to make them lost context-safe + debug code to forcefully tag a
context as lost + debug macros
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Sat, 10 Aug 2019 13:07:31 +0200 |
parents | 529c9617654b |
children | 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
946:dbe3e1e47019 | 947:1091b2adeb5a |
---|---|
32 for (Content::const_iterator it = content_.begin(); it != content_.end(); ++it) | 32 for (Content::const_iterator it = content_.begin(); it != content_.end(); ++it) |
33 { | 33 { |
34 assert(it->second != NULL); | 34 assert(it->second != NULL); |
35 delete it->second; | 35 delete it->second; |
36 } | 36 } |
37 | |
38 content_.clear(); | 37 content_.clear(); |
39 lineHeight_ = 0; | 38 lineHeight_ = 0; |
40 } | 39 } |
41 | 40 |
42 | 41 |