clean up, remove unused includes

This commit is contained in:
Andy Somogyi 2017-10-30 20:34:34 -04:00
parent c9a3c3f127
commit 6217a1231b
2 changed files with 6 additions and 7 deletions

View File

@ -1,4 +1,5 @@
#import <AppKit/NSApplication.h> // NSApplicationDelegate
#import <AppKit/NSWindow.h>
@interface AppDelegate : NSObject <NSApplicationDelegate>

View File

@ -31,11 +31,7 @@
#include <stdio.h>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#define GLFW_EXPOSE_NATIVE_COCOA
#include <GLFW/glfw3native.h>
#include "linmath.h"
#include <linmath.h>
static void createCocoaGlfwWindow(int width, int height, int xpos, int ypos);
static void cocoaGlfwStep();
@ -237,6 +233,8 @@ static void cocoaGlfwCloseWindow() {
}
static void cocoaGlfwStep() {
angle += 0.1;
window_refresh_callback(win);
if(win) {
angle += 0.1;
window_refresh_callback(win);
}
}