move log.h include in each file instead of pch, link libcurl and compile for mac

This commit is contained in:
2017-04-02 16:57:56 +01:00
parent b6c9429b89
commit 2dc7c4a9cc
18 changed files with 34 additions and 11 deletions

View File

@@ -1,4 +1,5 @@
#include "pch.h"
#include "log.h"
#include "shader.h"
#include "shape.h"
#include "texture.h"
@@ -264,7 +265,7 @@ static CVReturn MyDisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTime
{
App::I.initLog();
App::I.create();
NSRect r = NSMakeRect(0, 0, app.width, app.height);
NSRect r = NSMakeRect(0, 0, App::I.width, App::I.height);
view = [[View alloc] initWithFrame:r];