forked from organicmaps/organicmaps
iphone build fix.
This commit is contained in:
parent
31f2a764cd
commit
52212099f5
3 changed files with 4 additions and 3 deletions
|
@ -116,8 +116,10 @@
|
|||
p.m_resourceManager = resourceManager;
|
||||
p.m_frameBuffer = frameBuffer;
|
||||
p.m_glyphCacheID = resourceManager->guiThreadGlyphCacheID();
|
||||
p.m_skinName = pl.SkinName();
|
||||
p.m_visualScale = pl.VisualScale();
|
||||
|
||||
drawer = shared_ptr<DrawerYG>(new DrawerYG(pl.SkinName(), p));
|
||||
drawer = shared_ptr<DrawerYG>(new DrawerYG(p));
|
||||
|
||||
// frameBuffer->onSize(renderBuffer->width(), renderBuffer->height());
|
||||
// frameBuffer->setRenderTarget(renderBuffer);
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
#include "../../yg/texture.hpp"
|
||||
#include "../../map/framework_factory.hpp"
|
||||
#include "../../map/drawer_yg.hpp"
|
||||
#include "../../map/render_queue.hpp"
|
||||
#include "../../map/navigator.hpp"
|
||||
#include "../../map/feature_vec_model.hpp"
|
||||
#include "../../std/shared_ptr.hpp"
|
||||
|
|
|
@ -249,7 +249,7 @@ NSInteger compareAddress(id l, id r, void * context)
|
|||
- (void)onPaint
|
||||
{
|
||||
shared_ptr<iphone::WindowHandle> windowHandle = [(EAGLView*)self.view windowHandle];
|
||||
shared_ptr<PaintEvent> paintEvent(new PaintEvent(windowHandle->drawer()));
|
||||
shared_ptr<PaintEvent> paintEvent(new PaintEvent(windowHandle->drawer().get()));
|
||||
m_framework->Paint(paintEvent);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue