comparison Framework/Scene2D/CairoCompositor.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 7a7e4e1f558f
children d10d2acb8a02 2d8ab34c8c91
comparison
equal deleted inserted replaced
946:dbe3e1e47019 947:1091b2adeb5a
42 { 42 {
43 return context_->GetObject(); 43 return context_->GetObject();
44 } 44 }
45 } 45 }
46 46
47
48 Internals::CompositorHelper::ILayerRenderer* CairoCompositor::Create(const ISceneLayer& layer) 47 Internals::CompositorHelper::ILayerRenderer* CairoCompositor::Create(const ISceneLayer& layer)
49 { 48 {
50 switch (layer.GetType()) 49 switch (layer.GetType())
51 { 50 {
52 case ISceneLayer::Type_Polyline: 51 case ISceneLayer::Type_Polyline: