aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/jin.exebin1449472 -> 726528 bytes
-rw-r--r--src/libjin/README.md0
-rw-r--r--src/libjin/audio/source.cpp9
-rw-r--r--src/libjin/render/window.cpp1
-rw-r--r--src/script/debug/luaopen_debug.cpp1
-rw-r--r--src/script/luaopen_types.h7
6 files changed, 11 insertions, 7 deletions
diff --git a/bin/jin.exe b/bin/jin.exe
index 71918db..bcd3817 100644
--- a/bin/jin.exe
+++ b/bin/jin.exe
Binary files differ
diff --git a/src/libjin/README.md b/src/libjin/README.md
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/libjin/README.md
diff --git a/src/libjin/audio/source.cpp b/src/libjin/audio/source.cpp
index cca4d3e..dd87718 100644
--- a/src/libjin/audio/source.cpp
+++ b/src/libjin/audio/source.cpp
@@ -1,2 +1,11 @@
#include "source.h"
+namespace jin
+{
+namespace audio
+{
+
+
+
+}
+} \ No newline at end of file
diff --git a/src/libjin/render/window.cpp b/src/libjin/render/window.cpp
index e5d26a7..0d53654 100644
--- a/src/libjin/render/window.cpp
+++ b/src/libjin/render/window.cpp
@@ -39,6 +39,7 @@ namespace render
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 8);
+ SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
Uint32 flags = SDL_WINDOW_SHOWN | SDL_WINDOW_OPENGL ;
diff --git a/src/script/debug/luaopen_debug.cpp b/src/script/debug/luaopen_debug.cpp
index 658899f..b33c058 100644
--- a/src/script/debug/luaopen_debug.cpp
+++ b/src/script/debug/luaopen_debug.cpp
@@ -4,6 +4,5 @@ namespace debug
{
-
}
} \ No newline at end of file
diff --git a/src/script/luaopen_types.h b/src/script/luaopen_types.h
index c6ce202..bb6f5b1 100644
--- a/src/script/luaopen_types.h
+++ b/src/script/luaopen_types.h
@@ -15,15 +15,10 @@ class Proxy
public:
inline void bind(void* obj)
{
- if (obj != 0 && obj != nullptr)
- object = obj;
+ object = obj;
}
void* object;
-
- ~Proxy()
- {
- }
};
#endif