-
Notifications
You must be signed in to change notification settings - Fork 5
/
GLFWemu.cpp
52 lines (41 loc) · 1.33 KB
/
GLFWemu.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#include "GLFWemu.h"
void glfwSwapBuffers( GLFWwindow *w ) {
}
bool glfwInit() {
return true;
}
void glfwSetErrorCallback( void (*f)(int code, const char *desc) ) {
}
GLFWwindow g_iosemu_glfwwin;
GLFWwindow* glfwCreateWindow(int width, int height, const char* title, GLFWmonitor* monitor, GLFWwindow* share) {
return &g_iosemu_glfwwin;
}
void glfwTerminate() {
}
void glfwMakeContextCurrent( GLFWwindow *w ) {
}
void glfwSetWindowCloseCallback( GLFWwindow *w, void (* GLFWwindowclosefun)(GLFWwindow*) ) {
}
#define GLFW_STICKY_KEYS 0x00033002
void glfwSetInputMode( GLFWwindow *w, int mode, int value ) {
}
void glfwSwapInterval( int intvl ) {
}
bool glfwWindowShouldClose( GLFWwindow *w ) {
return false;
}
void glfwGetFramebufferSize(GLFWwindow* window, int* width, int* height) {
}
int glfwGetKey(GLFWwindow* window, int key) {
return false;
}
void glfwPollEvents() {
}
GLFWkeyfun glfwSetKeyCallback(GLFWwindow* window, GLFWkeyfun cbfun) {
}
GLFWmousebuttonfun glfwSetMouseButtonCallback(GLFWwindow* window, GLFWmousebuttonfun cbfun) {
}
GLFWcursorposfun glfwSetCursorPosCallback(GLFWwindow* window, GLFWcursorposfun cbfun) {
}
GLFWframebuffersizefun glfwSetFramebufferSizeCallback(GLFWwindow* window, GLFWframebuffersizefun cbfun) {
}